Hi BHatters, I would like to now if there is any way to randomly insert ...
-
Way to incert HTML code into every post?
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!
-
-
-
Re: Way to incert HTML code into every post?
You can use SQL queries. Try searching Google.
-
-
Re: Way to incert HTML code into every post?
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...
-
-
Re: Way to incert HTML code into every post?
CyberSEO Lite autoblogging plugin does it easily.
-
The Following User Says Thank You to CyberSEO For This Useful Post:
-
Re: Way to incert HTML code into every post?
The the RAW HTML plugin, im not sure if that will do exactly what you want but its useful to have non the less.
-
-
Re: Way to incert HTML code into every post?
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.
-
-
Re: Way to incert HTML code into every post?
I always use resource for HTML links....
-
-
Re: Way to incert HTML code into every post?
-
-
Re: Way to incert HTML code into every post?
You can manually add each link into the wordpress table (wp-posts) inside the database using the PhpAdmin front-end
-
-
Re: Way to incert HTML code into every post?

Originally Posted by
DebtFreeMe
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
-
Similar Threads
-
By MrsE in forum Blogging
Replies: 5
Last Post: 12-21-2008, 02:57 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks