Tagged: x
-
AuthorPosts
-
May 25, 2016 at 2:31 pm #1009675
blahlicusParticipantHello, I am attempting to customise some stuff of my website’s blog, as you can see the blog page is very plain so I would like to edit the php file for the blog main page to add some sidebars, paddings, etc.
I would also like to know the location of the template file for individual blog posts, thank you.
May 25, 2016 at 3:08 pm #1009735
RahulModeratorHi there,
Thanks for writing in!
This basic guide will be based on the integrity stack using the integrity light child theme.
I assume you already have a child theme setup
Find the file in wp-index.php or wp-single.php (depending on which you need). They are found in these paths:/wp-content/themes/x/framework/views/integrity/wp-index.php
/wp-content/themes/x/framework/views/integrity/wp-single.php’
Note: If you are not using integrity stack you can find similar files in the other stacks’ folders.
Make a copy of this file and paste it in the exact path but within your child theme.
/wp-content/themes/x-child-integrity-light/framework/views/integrity/wp-index.php
/wp-content/themes/x-child-integrity-light/framework/views/integrity/wp-single.php’You can then make your changes in these files.
The above is for the frame of blog index and the single template.
If you need to edit sidebars, featured images and post meta etc. you will need the corresponding files found in the same folder and possibly also some found in the global folder.
content.php
content-video.php
content-quote.php
content-portfolio.php
content-image.php
content-link.php
content-gallery.php
content-audio.php
content-page.php/global/_content.php
If you need more specific help, provide us with more info and we will do what we can. Hope this helps – thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1009675 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
