Post Loop PHP

Hi Themeco.

Can you please show me where I can find the PHP files for blog and categories view?

I mean, I want to know where the PHP files that determine how the blog posts will look are stored as I’d want to alter the PHP files to get the look I need.

Thanks.

Hey @Mrbiizy,

The file you need for the Blog and Category view is _index.php and it’s located in \wp-content\themes\pro\framework\views\global.

Just in case, you’re not familiar, you can learn how to override our theme’s template files here https://theme.co/docs/best-practices

Hope that helps.

Thanks you.

You’re welcome.

Hi. I have been able to get around with that file. But I need your help further please.

I need to know the file which I can edit (eg adding text or image) and the edit would reflect once across the blog and all archives. I really hope you understand what I am talking about.

Thanks

Edit: It’s actually _index.php

But the problem now is that it isn’t full screen. I want all the contents to be full screen. How can I make it full screen?

Or please show me the file that I can add either texts or image and would reflect full screen across the blog and all archives.

Thanks again.

I’ve found the file I’m looking for. :grin:

Hi. I see that there is a right-pointing double angle quotation mark before the archive name. For example

» Archive name

How can I remove this »?

Thanks

Hi @Mrbiizy,

As you are developing the website locally, can you please provide a few more information like a screenshot with a marked issue so the section can be recognized?

Thanks

I’m using the wp_title to pull the title and as you should know, it pulled the title for blog, categories and tags archives and it isn’t bad after all but I need to remove those arrows.

Thanks.

Hello @Mrbiizy

To get rid of the double angle quotation mark before the archive name you can replace the code wp_title() to wp_title('') .

Please check out this article to learn more about wp_title parameters

Please note that the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer.

Thanks

1 Like

:grin: Excellent!

Thanks alot.

Hi @Mrbiizy,

You’re welcome and it’s our pleasure to help you. If you have any other concerns, feel free to reach us.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.