mark-up
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: https/http: base-relative URIs for images?Hey yogi,
thank’s but I’m afraid I didn’t get it:-) How does this help?
Im searching for a method to generate base-relative image links..Instead of ‘https://www.mysite.org/test/test.jpg’ the link saved to the db by WP should be ‘/test/test.jpg’ by default.
In this case the image would be displayed under https AND https-protocol – otherwise only under https.. 🙁Mark
same here, but in the beginning this worked finde… I think the icons disappeared when updating ACF to 3.06…
Mark
Forum: Fixing WordPress
In reply to: Custom Permalinks (taxonomy) break Links for "static" pagesHello again,
I’m realy stuck with this issue.. 🙁 Some Ideas how to handle this problem would be great… Please HELP! 🙂
Thanks
MarkForum: Fixing WordPress
In reply to: Avoid single-view of posts from a specifc categoryHeyHey!
Well, but this would mean that several links of my blog show up identical content— right? Isn’t this duplicate content? Bad for Google?
:-/Thanks
MarkForum: Fixing WordPress
In reply to: Post Thumbnail URL with Conditional tagsHey Chozen,
I’m pretty new to wordpress, so maybe there’s a better way to solve this.. but I think this should work (untested):
<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'large'); if(isset($image_url[0])){ echo '<img src="'.$image_url[0].'" />'; } ?>Simple check if $image_url[0] is set… 🙂
Mark
Forum: Fixing WordPress
In reply to: Get Posts by Category & Custom TaxonomyThat’s it!
Thank you, keesiemeijer! 🙂Forum: Themes and Templates
In reply to: Custom Archive Theme for Custom Post Types?Hey keesiemeijer,
'has_archive' => truewas the solution. You’r my hero of the day!
Thank you so much! 🙂
Mark