iamcracks
Forum Replies Created
-
Update – Andrew Nacin replied on Twitter to my direct question about detecting category slug of viewed post.
I asked …. “In single.php can you determine the category which the post is being viewed ‘from’ (category/post.php slug?).”
He replied … “Not without checking the referer… Because the post URLs will look the same either way.”
Still a bit beyond me.
Forum: Fixing WordPress
In reply to: If Stickies, insert AFTER Stickies. else insert before normal posts?I don’t want it to appear after every sticky post, only at the end of all the stickies posts (who’s numbers change daily – hence the manually editing of the existing code). And if there are no stickies, then it will appear before normal posts.
While I know what is_sticky() is, I have no idea how to implement the above.
Forum: Fixing WordPress
In reply to: How to “If is echo HTML / PHP / HTML”Thanks to both: jeremyclark13 and esmi.
Forum: Fixing WordPress
In reply to: How to “If is echo HTML / PHP / HTML”I tried.
I tested.
I thank you.Forum: Fixing WordPress
In reply to: Custom Title Tag for Custom TaxonomyI did find both these, but I’m not sure if I can fix or not?
Forum: Fixing WordPress
In reply to: Code Question – How To php if with html & php inclusiveYes, it is. I sure was trying to do it the hard way. You way is way easier. Thanks.
I was using someone else’s code which was riddled with
echo 'xxx' php echo ''etc. Obviously unnecessary.Thanks for your help.