Homepage layout change

Hello,

Activello is such a nice theme, thanks for the great work.

I’m actually using the “latest posts” setting for my homepage, and i didn’t know how can i change the codes to add things (i.e: an ad between two lines of posts). I’m using a child theme but i can’t wonder what php file does the page layout.

Is there a way i can do that, or it’s preferable to use a static page ? Also, can i override the actual layout by adding a file in my child theme ? I’m a little bit new with those notions.

Thank you in advance for your advices.

Hi @abdelhaksam,

I hope you are well today and thank you for your questions.

I’m actually using the “latest posts” setting for my homepage, and i didn’t know how can i change the codes to add things (i.e: an ad between two lines of posts). I’m using a child theme but i can’t wonder what php file does the page layout.

The theme file that is used to create this layout is content.php

Is there a way i can do that, or it’s preferable to use a static page ?

Yes you can do that by developing custom code in your child theme.

Also, can i override the actual layout by adding a file in my child theme ?

Yes you can.

Best Regards,
Movin

Thank you for this fast response.

I think it’ll be okay, thank you :slight_smile:

BR,

You are most welcome here :slight_smile: