Follow us on

Codestar Support Forum » WordPress Themes » Route WordPress Theme

Advcanced custom fields showing up empty on front end.

  1. Hi,

    I recently updated to the new version of the theme.
    Since then my advanced custom fields are not shown anymore on the front end of one of the pages.
    is this a known bug?

    the fields are shown as they should be in the back end, they just dont show up anymore at the page the customers are looking at.

    Posted 3 years ago #

  2. Codestar
    Admin

    Hi,

    Sorry for delay, I am back now.

    I didn't get the issue, can you explain it more ? Advanced Custom Fields never shows in front-end already. it's backend fields. Also can you show me a screenshot ?

    Regards, Codestar

    Posted 3 years ago #
  3. Hi,

    I found that the template.php we used for this, is not shown anymore
    what is the proper way to add a custom template to the theme?

    where should i add the template.php so i can select it?

    Thanks

    Posted 3 years ago #

  4. Codestar
    Admin

    Hi,

    Page template selecting from here:

    If you want to create your own template go to theme files and create one php file like acf-template.php and write this code:

    <?php
    /**
     * Template Name: ACF Template
     */
    get_header();
    
    // Do stuff
    
    get_footer();CopyCopied!

    I haven't more idea.

    Regards, Codestar

    Posted 3 years ago #