Forum
Blog post custom template
This function call returns nothing. Please may you confirm if this is well formed
<?php perch_blog_post(perch_get('s'), [
'template' => 'post_single.html']); ?>
This function call returns nothing. Please may you confirm if this is well formed
<?php perch_blog_post(perch_get('s'), [
'template' => 'post_single.html']); ?>
That doesn't give us enough information to help you. We need your code, template plus Diagnostics Report with each post to the forum.
You also have some tools that will help you diagnose problems for yourself.
Have you enabled debug? https://docs.grabaperch.com/docs/installing-perch/configuration/debug/
If not, that would be a good start, the output will indicate whether or not your query is returning anything.
Have you checked that your rewrite rules are working if you are rewriting URLs?
The debug indicates the default template is being used. My URLs are working fine elsewhere for example the custom template I'm using for search is getting the right code
We need your code, template plus Diagnostics Report with each post to the forum.
Your search code is irrelevant. Is this page returning the correct data?
We will try and help you, despite these issues not being an issue with our software but you do need to do some debugging yourself to get to a point where you can tell us where the problem lies. At the moment we are unable to help.
Here is my template
Can you post your Diagnostics Report please? We need this with each post to the forum.
I still need some information about the debugging steps you have followed, what can you tell us?
array()
notation and the square bracket[]
notationpost.html
template