The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
42 views

Adding custom styles to elements, without creating new elements

So Im using the tiny_mce_before_init filter to added a few classes to the wp_editor and am getting unexpected results. I havent used this before, but from what Im reading and what my peers tell me I ...
0
votes
2answers
45 views

How to detect and move all inline styles to the footer?

For some reasons, I need a function to detect all inline styles generated by theme options or plugins and move them to the footer and convert this snippet into a small plugin. Basically I need that ...
0
votes
2answers
168 views

customize continue reading

This is the code of continue reading in function.php <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?> It has a class which ...
3
votes
1answer
106 views

How to modify/extend/override a core method?

This is my first post. In advance, thank you for welcoming me... Context When you enqueue style, you can output your css link into conditional comments. global $wp_styles; ...
1
vote
1answer
12 views

Which filter/hook to use for styling comments?

I would like to create a plugin that modify the styling of the comments section. Given that some users may be using other plugin to replace the default commenting system (facebook, disqus, ...), what ...
1
vote
1answer
736 views

Adding Custom Styles to the MCE dropdown toolbar

I am using the following code to add style drop downs the mce toolbar, I want to be able to add a h1 element with the drop down but my code isnt working, I have tried a couple of different ways but it ...
0
votes
1answer
115 views

Multiple Block Quotes without using HTML

First of all, I have a client that has no HTML knowledge. He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles. Note ...
0
votes
1answer
112 views

Performance and styles not working fine after changing permalink structure

Fist I was using default option of permalink and everything was fine (speed is ok, my own created theme is working fine) but now I change default structure to post name structure of permalink now I am ...
-1
votes
1answer
379 views

How do I change TinyMCE button “i” to create a i tag rather than em?

I want to give the "italic" button back the "styling" behaviour, rather than the spammy <em>. I want that button to print a <i> tag, rather than <em>. <em> tags became popular ...
5
votes
0answers
126 views

Any alternate TinyMCE4 themes / subthemes?

TinyMCE4 in WordPress 3.9 has some cool changes, but it seems to have only one "theme" included. Is there any way to make a sub-theme of the theme defined by CSS, and theme.js in ...
1
vote
0answers
64 views

How do I view registered syles and scripts for enqueue

I know that wp_register_style(), wp_deregister_style() and wp_enqueue_style() are used for css style registration and enqueue management. However, I am interested in viewing ALL registered styles ...
0
votes
0answers
39 views

Lessphp auto-compiling issue in WordPress

I'm using Lessphp to auto compile my style. After reading the document ( http://leafo.net/lessphp/docs/#compiling_automatically ) and some research, I got this code: function autoCompileLess() { // ...
0
votes
0answers
69 views

Shortcode add styles to the <head>

I have shortcodes that has option for :hover color. Is there a way to include styles in the head of a page for each shortcode element to change its hover color? There can be any amount of this ...
0
votes
0answers
44 views

Add dynamically Get Request For Every links On the Site For Style Switcher

<?php session_start(); ?> <?php $_SESSION['sel_color'] = "blue"; if ( isset($_GET['color']) ) { switch ($_GET['color']) { case 'red': $_SESSION['sel_color'] = "red"; ...