| | #1 |
| Advanced Warrior War Room Member |
Hi Warriors, Happy New Year! I previously had my own inserted content right within Main Index Template (index.php) of my Wordpress blog but i removed same sometime ago. I now want to re-insert some text but cannot recollect exactly where within the index.php code i should do that. Btw i am quite aware of the necessity for only amending/updating child theme and not the cms template. Can you please point me to exactly where i need to begin inserting the text? Thanks |
|
What Others Are Saying About This Top MLM Company | Get Brand New, Brand Name Products For Pennies @ New Penny Auctions | Play Online Game At Eager Zebra Games | The source through which i smile to the Bank daily with $$$ => Top Home Based Businesses | |
| |
| | #2 | |
| Warrior Member Join Date: 2014
Posts: 20
Thanks: 0
Thanked 6 Times in 6 Posts
|
Happy New Year! It depends where you want to add the content. There are many files in a wp theme, normally there would be a header.php file you can add content there after opening body tag, that would be displayed all over the pages, provided that file is included in all the other theme files, and the next thing is you should know the place where you want to include the text. I can provide more specific help if you can give me more details where you want and your site url. Regards, Raj | |
| |
| | #3 |
| Advanced Warrior War Room Member |
Thank you Raj. I want the content in the Main Index Template (index.php) as that is where i had it before. I want it rendered on my site homepage after the dynamic content (blog posts). My site url is Profitable Business Ideas - Ideas That Make Money Online |
|
What Others Are Saying About This Top MLM Company | Get Brand New, Brand Name Products For Pennies @ New Penny Auctions | Play Online Game At Eager Zebra Games | The source through which i smile to the Bank daily with $$$ => Top Home Based Businesses | |
| |
| | #4 |
| Warrior Member Join Date: 2014
Posts: 20
Thanks: 0
Thanked 6 Times in 6 Posts
|
I have checked your site and to add content after blog posts you need to find this Code: <div id="primary" class="hfeed"> Code: <?php if ( is_front_page() ){?>
add your content here
<?php }?> Regards, Raj |
| |
| The Following User Says Thank You to kumarraj For This Useful Post: |
| | #5 |
| Advanced Warrior War Room Member |
Thank you so much Raj. I have now been able to insert the content as desired. |
|
What Others Are Saying About This Top MLM Company | Get Brand New, Brand Name Products For Pennies @ New Penny Auctions | Play Online Game At Eager Zebra Games | The source through which i smile to the Bank daily with $$$ => Top Home Based Businesses | |
| |
| | #6 |
| Warrior Member Join Date: 2014
Posts: 20
Thanks: 0
Thanked 6 Times in 6 Posts
| |
| |
|
| Bookmarks |
| Tags |
| indexphp, inserting, text or content, wordpress |
| |