![]() |
Inserting Text/Content In Index.php (Wordpress) 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 |
Re: Inserting Text/Content In Index.php (Wordpress) Quote:
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 |
Re: Inserting Text/Content In Index.php (Wordpress) 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 |
Re: Inserting Text/Content In Index.php (Wordpress) 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() ){?>Regards, Raj |
Re: Inserting Text/Content In Index.php (Wordpress) Thank you so much Raj. I have now been able to insert the content as desired. |
Re: Inserting Text/Content In Index.php (Wordpress) Quote:
|
| All times are GMT -6. The time now is 06:17 PM. |