Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #889072
    ravenevents
    Participant

    I have created and registered new post types for my staging site (not available for viewing) and everything is working well.

    Now I want to create a custom post template.

    This is all happening within x-child/framework/views/ethos/

    I created a new custom post template and saved it as wp-opportunities.php. I copied all of the information from wp-single.php and pasted it into the new template and saved it.

    I added my custom post type into wp-opportunities.php:

    <?php x_get_view( ‘ethos’, ‘content-opportunities’, get_post_format() ); ?>

    I have created a file called content-opportunities.php and pasted in the code from content.php and changed one line:

    <?php x_get_view( ‘ethos’, ‘_content-opportunities’, ‘post-header’ ); ?>

    I have entered in ‘test test test’ on both content-opportunities.php and wp-opportunities.php but when I test my opportunity via one of the posts entered in that custom post type, the testing info does not come in, so I still can’t control the output of custom post type or how it is styled.

    I looked through all of the related topics here, especially “https://community.theme.co/kb/customization-best-practices/&#8221; but none could solve my problem.

    Please help, thanks!

    #889735
    Paul R
    Moderator

    Hi,

    Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-889072 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>