I need help with the code snippet. I have a php code block I would like to use on the frontpage. I can’t find information or help about this issue anywhere. Is it possible for me to use php in this block and if so then how do I do it ?
One more thing though I would like to know if possible. Can I move the dates for the posts to the top of the post ? As you can see on the frontpage the dates are below the text…
The solution I managed to set up is no longer working and I can’t figure out why. The PHP code is working on another site so I know there is no error in the code but the future posts are not showing up on the frontpage.
I have updated the theme to the latest version and tried to use the code block in the Swift Page Builder but that is still not working.
Any chance you guys can help me with this ?
Hi. I’m not using a child theme and I know the updates I make are overwritten when I update the theme.
The thing is I did not make any changes to the theme file. The PHP code I’m using is set up through this plugin https://wordpress.org/plugins/php-code-for-posts/ and then I insert a shortcode for the PHP code in the theme. But its not working on this page and like I said I have tested this on another site with another template and the code works there.