Modififying loop displayed on block

Posted in: Newspaper
Post count: 7

Hi,
I’d like to modify posts displayed on Block 1 feature through the API, but i don’t understand if this can be done.
Basically i would like to remove posts of a certain taxonomy.

I don’t get where and how (if ?) i can modify the parameters of the loop ?
Thanks for your help.

Post count: 23312

Hello Marie,

Unfortunately, this is not a simple task and if you do not have a solid knowledge in this regard, you can damage the theme blocks. As a hint, you should edit the td_block__1.php and also, the modules which create this block like td_module_4.php and td_module_6.php like this -> https://www.screencast.com/t/5fprXhHkJ1
If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for your understanding!

Post count: 7

Thank you for your response. I actually already modified td_block__1.php, my problem is that if i remove posts from there, i’m looping over a limited number of posts, and i ended up displaying less posts than supposed for the design.
That number being defined upstream, while creating the post’s loop for that specific block.
So my question is : Can i have any action on the building of the loop via the API (not on how it’s displayed, this part i got it) or is this a customization of the theme that needs to be done in that case ?
Thanks

Post count: 23312

Hello Marie,

Please keep in mind that any other thing if you want to have in your theme represents additional customization, even this, sorry! Please keep in mind that the theme does not have any settings that allow you to have any action on the building of the loop via the API, sorry! Notice that if you need more customizations to your theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!

Thanks for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.