[ad_1]
Hi
I want to add a piece of shortcode to the end of every page on my site. Currently I have around 1200 pages and I am thinking it will take some time to do this one page at a time. Is it possible to do this through the database using PHPMyAdmin please? It is in WP_Posts, WP_Content. I am going to try something like this:
$query = "
INSERT INTO <code>databasename</code> <code>databasetable</code> (post_content’); “;
mysql_query($query);
echo ”
The piece of shortcode
“;`
I am concerned that it will delete post content rather than add to the end.
Thanks
Rich
- This topic was modified 5 hours, 13 minutes ago by . Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
