Tag Info

New answers tagged

1

I solved this by creating 2 functions to split the_content() in a before and after-function: class MyClass { /** * Echo the content before the <!--more--> tag */ public static function getContentBeforeMore() { global $more; $more = false; the_content(false); $more = true; } /** * Echo ...


0

Use this css classes in wpp.css file : .wpp-list { float: left; } .wpp-list li { float: left; width: 50%; } .wpp-post-title { float: left; width: 100%; } and this style float: left;width: 100%; to image anchor tag


1

I'm not sure if this question is still relevant or not (so I'm posting for future reference for people), but there is a way to define a css file for the TinyMCE editor in your plugin by using the mce_css filter. For a quick example, I'll take an excerpt from the WordPress documentation: function plugin_mce_css( $mce_css ) { if ( ! empty( $mce_css ) ) ...


-1

You could do this with jQuery's .appendTo(): jQuery('head style').appendTo('body'); You can remove registered actions from 'wp_head' and register them with 'wp_footer' but the trick is determining which callback functions output the tag. Maybe you could use the $wp_filter global to find all functions hooked into 'wp_head', execute each one to an output ...


0

This is not a WP problem. Just move it with jQuery: $("header style").appendTo("footer"); Done.



Top 50 recent answers are included