The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
151 views

wp_editor not modify html tags of initial content

How can i set the tinyMCE editor in wp_editor to not modify/replace the html tags of the initial content ? I'm loading html content with tags (i know that they are deprecated but i need them) and ...
1
vote
1answer
295 views

Search/Replace for editor in HTML-mode

Is there a way to do a Search and Replace for the editor in HTML-mode? Plugins I found are for the visual editor, we are working only in HTML-mode, therefore -not- appropriate for what we do. I would ...
0
votes
1answer
42 views

Replace shortcode in substring

I've created these two functions to toggle between the first paragraph of the content and then everything but the first paragraph so when the user selects 'More' it slides out the article smoothly ...
0
votes
1answer
71 views

My Server Doesn't Allow timthumb; How Can I Remove It?

I have searched around but I've found no simple way for doing this. I have themes I bought from ReadyThemes.com that all have timthumb as the image resizer. I would prefer to use Wordpresses default ...
0
votes
1answer
100 views

replacing post ID by custom post name in url

I am stuck in replacing post ID by custom post name in url. link is as shown below: href="'.$url.'/'.$options['applyp'].'/?pos='.$post[$i]->ID.'" i need to replace ?pos='.$post[$i]->ID.' by custom ...
0
votes
1answer
470 views

Replacing & in JS code on pages

I am needing to remove the & that seems to be replacing my & on my page code. My original code looked like this: ...
0
votes
0answers
14 views

Search & Replace trailing strings

I need to filter the_content/the_excerpt and search & replace the following prepared array: $searchArray = array("foo", "bar", "foo bar", ...); My problem is the fact, that using php's ...
0
votes
0answers
20 views

Automatically add paragraphs in long string

I have posts ported from VBulletin. I had to stripp all VBulletin tags so now I have long strings of text with no line breaks or any br or p tags. How can I add a br br instead of each 7-th dot for ...
0
votes
0answers
55 views

Avoid replacing single quotes

In my WordPress widget I include a PHP file which hase the following content: <div id="<?php echo $args['widget_id']; ?>" data-style='{"width":"35px"}'> </div> However, WordPress ...