masterjc86
Member
Posted 2 years ago #
I recently added plugin called Twitter Lists for WordPress. I would like to NOT use the plugin as a widget. The plugin allows for you to do this by inserting the following code:
<?php twitter_list_messages("username","list"); ?>
My question is where do I actually put this line of code. I have tried on the index.php page and in an acutal post with no luck.
Any help would be greatly appreciated :)
Thanks in advance.
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
Which index.php? There are several. The one you want is in wp-content/themes/<yourthemename>, but that isn't the only file in your theme that will work. Where do you want this to show up?
You can't put PHP into a post using the post editor. It won't execute. If you must put PHP in posts you have to run something like the plugin PHPExec.
masterjc86
Member
Posted 2 years ago #
I tried PHPExec and it still didnt show up in a post. But I would rather have it show ont he main page....
Here is the scenario....
Im trying to create a Twitter Aggregator for one of the lists in my twitter account and have all of those posts show up on my website. I will not be posting content manually.
The plugin I installed is called Twitter Lists for WordPress. I understand how to configure it and get it to pull posts from the twitter RSS feed but I can not get how to put that code on the site so the posts show up.
Ill try what you said and see how it goes from that point.
I appreciate the response :)