Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dmccan

    (@dmccan)

    Hi Rasetsukoku,

    I may not be fully understanding the question, in which case I apologize in advance. The options to choose a template may be based on your theme. The plugin creates a custom post type, which is neither a post or a page.

    Are you using a child theme? If so, and your theme has a page template you like you may be able to copy it from your theme directory to your child theme directory and name it something like ‘single-yada_wiki.php’. I think WordPress will then use that when viewing wiki pages. If that template is not available it will look for ‘single.php’ and if that is not found then it will look for ‘index.php’.

    Here is a page that talks about it:

    https://codex.www.ads-software.com/Post_Type_Templates

    If I’m not focusing on the right question then please provide more info and/or show me the pages on your site and maybe we can figure it out. I don’t think it should be too hard.

    Best,

    David

    Thread Starter Rasetsukoku

    (@rasetsukoku)

    Hi David! Thanks for responding so quickly!

    I’m not 100% familiar with the back-end of WordPress so I’m sorry for my confusing question. But the solution you gave worked perfectly, I copied my page template and named it “single-yada_wiki.php” and now the wiki pages are displayed like my pages. I basically just wanted the wiki pages to look like my default page template instead of what my “single” was displaying.

    Thank you!

    Plugin Author dmccan

    (@dmccan)

    Hi Rasetsukoku,

    That’s great. I mentioned using a child theme so that you file doesn’t get overwritten if your theme gets an update. Here is an article about it and there are lots of examples on the web of how to make one. Otherwise I’d be sure to keep a copy.

    https://codex.www.ads-software.com/Child_Themes

    Have a good weekend.

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing type from Post to Page’ is closed to new replies.