Tag Info

New answers tagged


WordPress provides a few generated classes just for this issue. What you probably want is to float the image left in your example. The CSS rules listed in the Generated Classes section of this Codex page are what you are after. https://codex.wordpress.org/CSS#WordPress_Generated_Classes For the sake of future-proofing or a URL change, here is that ...


Maybe you could simply use do_shortcode() if all you have in your content is shortcodes, as long as you don't have any other content that need the filters. I don't know the context, but if you're in the loop : echo do_shortcode($post->post_content);


It should be pretty easy to alter the text for the Core text widget via the widget_text filter: function conditional_text_widget_wpse_207957($text) { if (is_single()) { $text = "Whoa, d00d! I'm single"; } return $text; } add_filter('widget_text','conditional_text_widget_wpse_207957'); You do not specify what conditions you need exactly, nor ...

Top 50 recent answers are included