Create new block or template part

Posted in: Newspaper
Post count: 25

Hi. I have to put some code in either homepage ,categories and single posts that I can’t do with Visual Composer, cause it contains php code. I need a way to put php code or through a sidebar, or through a block, or a template part. I’m trying with block but documentation for me is not complete enough and I cannot understand if blocks can do it. Please give some hint so I can proceed. Thanks.

Post count: 6535

Hi

I am not very sure what you’re trying to do and what part of the site do you want to affect. Basically if you want to run php code must be edited the file which generate the page that you want to modify. For example if you want to change a post you have to edit the files corresponding with post template used.
Provide more specific details about what you’re trying to do so we can inspect it closer and maybe we can help but note that we can’t offer custom services for the moment. We can only point a way of how to achieve the desired result but you will have to implement the code.

Thanks!

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