CodeCanyon

Search and Replace for Wordpress

  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
matari says
Purchased

It works fine on pages and posts, but is there any way to replace widget area content?

1 year ago
Author
Sitebase Sitebase replied

You can do a full page replace and this will also work in Widget area’s

1 year ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
k9media says

Quick query on this. I have a theme which basically breaks whenever I post to it via Posterous. This is because Posterous automatically inserts some formatting tags within the post (on wordpress) inside div tags. If I use this plugin, can it be set to replace those Posterous inserted div tags without it actually deleting div tags where they are supposed to be (i.e only delete div tags from within a post but not from anywhere else)?

thanks.

1 year ago
Author
Sitebase Sitebase replied

This will not be possible because you’ll not be able to remove the closing div tag. Removing the opening div tag is possible but this will break your xHTML.

1 year ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • United Kingdom
andrej says
Purchased

Works Great!, I would like however to make a single modification and wonder if you could point me in the correct location in the code, I would like to treat the Search word as Upper() so whatever mix of Case the word is it will be replaced, I am using it to replace profanities in comments so you can imagine the potential combinations. I know I cannot get them all … but I would like to modify the output on the main 50 or so contenders :)

Great job.

1 year ago
Author
Sitebase Sitebase replied

Open the replacepress.php file and search for “private function replace”. That’s the method where all the magic happens and where you can do your modification.

11 months ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • United Kingdom
andrej says
Purchased

In the form of a further example;

A user enters a comment that says…

I think Name is an Idiot They may also write … I think Name is an idiot

I would like to replace either option with for instance Idio7

I presume the ideal way would be to treat the complete comment as Upper(comment) so I only have to Search for “IDIOT” and replace it with “Idio7”

I hope this explains better :) Thanks

1 year ago
  • Has been a member for 0-1 years
bumper12 says

Hi,

I have a presale question…

Can this plugin be used on a page by page basis?

Heres a scenario I’m thinking of…

I have a templated page with the generic keyword phrase “business name” and then I duplicate the page several times and save them as different urls (e.g. a real business name 1, a real business name 2 etc). Now I’d like to be able to replace the generic phrase “business name” on first to “real business name 1” on second to “real business name 2” etc

I see you can replace a full page but can you choose which page and if so can you then replace the phrase specifically for that page?

I hope you understand what I mean :)

Thanks

11 months ago
Author
Sitebase Sitebase replied

I understand your question but that’s not possible with my plugin.

11 months ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
  • France
  • Referred between 1 and 9 users
nicodweb says

Hi. Is it possible to change admin menu label with your code? Exemple: change the “posts” menu name by “blog”?

Thanks!

11 months ago
Author
Sitebase Sitebase replied

That’s not possible because you can only search an replace in the front-end of your website.

11 months ago
nicodweb nicodweb replied

Ok thanks. I ‘ve find a simple function to do that

add_filter( ‘gettext’, ‘change_admin_txt’ ); add_filter( ‘ngettext’, ‘change_admin_txt’ );

function change_admin_txt( $translated ) { $translated = str_replace( ‘Posts, ‘xxx’, $translated ); $translated = str_replace( ‘post’, ‘xxx’, $translated ); return $translated; }

11 months ago
Author
Sitebase Sitebase replied

Yes, that will work but keep in mind that it will not only change the posts string in your menu ;)

11 months ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • United States
martyverhof says
Purchased

Hey, I have an issue with your plugin during installation. Can you contact me? I don’t want to put my shit public, before it’s maybe my own fault….

Thnx marty

10 months ago
Author
Sitebase Sitebase replied

You can submit a support ticket on my http://support.sitebase.be website.

10 months ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
chipperson says
Purchased

AWESOME plugin!!! this was the easiest way I’ve found for replacing things in wordpress- worked great for having my site switch from one lightbox plugin to another without touching the theme’s code or dealing with filters.

great work!

10 months ago
  • Has been a member for 0-1 years
  • Bought between 50 and 99 items
  • United States
stormwebent says

Like the sound of this. Quick question – I have a couple hundred blog posts with some embed code from a video plugin no longer compatible with WP 3 .21.

Would it be possible to use this with some sort of wildcard, where [vidembedexample domain.com/folder/abc.flv] is replaced with [vidembednewexample domain.com/folder/same.flv] without actually specifying the name of the video file? That way any instances of a certain code are replaced with the new code, using the same video file, which obviously changes on a per post basis.

Hopefully you understand what I mean.

9 months ago
Author
Sitebase Sitebase replied

You can indeed do a replace of [vidembedexample with [vidembednewexample.

9 months ago
Purchased
Default-user stormwebent replied

Thanks, purchased! Can I use wildcards at all? So that every instance of the old code would be replaced by new code, but using the same video file? Not sure if I’m explaining that clearly enough.

9 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
Invisualcode says
Purchased

I can use the plugin to replace words in Custom Fields ?

8 months ago
Author
Sitebase Sitebase replied

If these custom fields are placed somewhere in the page content they can indeed be replaced.

8 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
ceskate says
Purchased

Hi, Just purchased, wondering whether this has impact on the seo aspects, I think I read somewhere it does not change the data held in the database just on the page… does this mean the search engine spiders will spider the original text or the newly replaced text?

Either way I’m happy with the concept and it’s a great idea but though I would ask the question either way,

Thanks,

Ceskate

6 months ago
Author
Sitebase Sitebase replied

Google will only see the replaced content because this plugin works on the server side.

6 months ago
Purchased
Default-user ceskate replied

That’s amazing, even better than expected, haven’t tested yet but will shortly and leave a review here,

Thanks!

6 months ago
  • Has been a member for 0-1 years
  • Bought between 50 and 99 items
sam4ya says
Purchased

Hi, firstly GREAT plugin :)

Secondly…is there any way to use it on the admin part? If not, how much would it cost to develop one that does?

Thirdly…What would happen if I use it with WPML ?

Thanks. Cheers!

6 months ago
Author
Sitebase Sitebase replied

This does not work for the admin part. Send me an email if you want a quote for this. It works the same for WPML .

6 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
ceskate says
Purchased

Just want to say this is an awesome plugin! 5* awarded and well worth the minimal cost, highly recommended to all!

Thanks and keep up the great work!

Ceskate

:-)

6 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
farm_EHoT says
Purchased

Hello! I only see the “Save Order” and all, where the start? No substitution occurs. If this plugin works (as defined for the version 3.2), how to run this task replacement? also I need to find and replace is not! the English language. Encodings other than English are not supported? My problem is not solved. Version of wordpress 3.2.1

5 months ago
Author
Sitebase Sitebase replied

Can you create a ticket for this on support.sitebase.be?

5 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
farm_EHoT says
Purchased

from site: “Posted on July 6, 2011. 0 Comments No support next week

I will be out of the office from July 22 through July 31. I will follow up with your support questions the following business day.”

5 months ago
  • Has been a member for 0-1 years
  • Bought between 50 and 99 items
jcll says
Purchased

I already bought this plugin and it’s a very useful. If this plugin can work with buddypress that will be great. I tried to activate this plugin with buddypress then the ajax tab in buddypress was broken. Any chance can fix this?

5 months ago
Author
Sitebase Sitebase replied

I’ll see what I can do.

5 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
helpful4you says
Purchased

is there a way to import/export the replacement list and clone the settings for other blogs

3 months ago
by
by
by
by
by