Way to incert HTML code into every post?

heartydreamer

Newbie
Joined
Dec 8, 2009
Messages
43
Reaction score
23
Hi BHatters, I would like to now if there is any way to randomly insert a html code into every post.

Well the idea is, I would like to add posts automatically on my blog, of course using Wp-Robot.

Now on every post, That does not have a picture, I would like to add a HTML Code that will return a picture, hyper-linked.

I will place about 10 -20 pieces of HTML code that will return a picture, Hyperlinked.

Is there a way to insert on of these randomly into the Wp-posts?

I guess it makes sense. Please let me know if there is any ambiguity.

Any ideas appreciated!
 
Thank you for the input. However, I was looking for a WP plugin kinda stuff to do the job.. This will make it easy.. Regarding SQL queries, I have no clue. Even if I search Google, I have no clue how to implement or fix if anythng pops up.. Cant we do that with a PHP scrit, that can be integrated as WP plugin?

Howver, I am not a PHP guy either.. Was looking if there are any scripts to achieve this...
 
CyberSEO Lite autoblogging plugin does it easily.
 
The the RAW HTML plugin, im not sure if that will do exactly what you want but its useful to have non the less.
 
You can actually do this in WP-Robot. If you go into the Templates area, look up the template for the type of post you want to put your code on, for instance the Amazon module template, you can drop the HTML code into that template.

That way, every time WP-Robot posts anything from that template it will already include the HTML code you have.

To add your code into your existing posts, what you could do is simply add your HTML into the the php files for your posts so they will show up on every post you put up. This would stop you from having to edit the WP-Robot templates.

Or, I think what you may really find useful for existing post is a plugin called Append Content, this plugin lets you add text to the end of your existing posts, a process that's called appending. I'm not sure if it will work to drop HTML in, but it's better than nothing, and easier than SQL queries.

Hope these ideas help you to get things taken care of.
 
You can manually add each link into the wordpress table (wp-posts) inside the database using the PhpAdmin front-end
 
You can actually do this in WP-Robot. If you go into the Templates area, look up the template for the type of post you want to put your code on, for instance the Amazon module template, you can drop the HTML code into that template.

That way, every time WP-Robot posts anything from that template it will already include the HTML code you have.

To add your code into your existing posts, what you could do is simply add your HTML into the the php files for your posts so they will show up on every post you put up. This would stop you from having to edit the WP-Robot templates.

Or, I think what you may really find useful for existing post is a plugin called Append Content, this plugin lets you add text to the end of your existing posts, a process that's called appending. I'm not sure if it will work to drop HTML in, but it's better than nothing, and easier than SQL queries.

Hope these ideas help you to get things taken care of.
very helpful thanks a lot for this
 
Back
Top