September 11, 2016 at 7:59 pm #99161ce88Participant
Hi, I just created child theme with a custom post type with the template files single-centri.php and content-single-centri.php
I insert in the template file the get_sidebar() function, but when I created a new centri post the sidebar don’t work and I just see the word “Array” under the content just before the footer instead that on the right or left side of the post.
How can I fix this problem?September 12, 2016 at 10:22 am #99180MaheshKeymaster
@ce88: This is a repeat post, I’ll skip this one since I’ve already posted the answer in the other. Please do not post the same thing twice.
MaheshSeptember 12, 2016 at 1:36 pm #99186ce88Participant
Sorry I had a connection problems when posted it and didn’t realize I posted twice.
- The topic ‘sidebar for custom post type’ is closed to new replies.