Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1142313
    jclay12345
    Participant

    I made a custom template. What I did was:

    Copied xtheme/template-blank-8.php
    Into xchild/template-blank-8.php
    Copied xtheme/framework/views/renew/template-blank-8.php
    Into xchild/framework/views/renew/template-blank-8.php

    Renamed my copied templates to “template-signup.php”
    I opened xchild/template-signup.php and changed the Template Name to “Sign Up” and this:

    <?php x_get_view( x_get_stack(), 'template', 'signup' ); ?>

    I then went to WordPress->Pages->Add New. I select the Page Template dropdown and don’t see “Sign Up” anywhere.

    What else do I need to do? There is no caching on the site.

    Thanks.

    #1142711
    Rupok
    Member

    Hi there,

    Thanks for writing in! You don’t need to create within views folder and call it again. You can directly use the file template-signup.php as your template as it should be on theme root folder.

    Cheers!

    #1142926
    jclay12345
    Participant

    I just tried that and it still doesn’t show up. Does it have something to do with me running multisites?

    #1143185
    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1143413
    jclay12345
    Participant
    This reply has been marked as private.
    #1143888
    jclay12345
    Participant

    any ideas?

    #1144194
    Lely
    Moderator

    Hi There,

    Thank you for the credentials. Upon checking, template-signup.php file is missing on this folder \wp-content\themes\x-child\framework\views\renew. I am able to add it but then it is still missing on template dropdown option. I tried it on my test site and it’s working. See attached screenshot. This might be cache. Do you have a caching service on your hosting? Please check and then empty the cache and check again if the template will be available. Do let us know how this goes.

    #1144522
    jclay12345
    Participant

    I only removed the renew view because that’s what I thought Rupok said to do above. I added it back but it’s still not working. I don’t have any caching service on the site.

    Does it work differently with multisite setup? I noticed that your test image was for a single-site setup.

    #1144531
    jclay12345
    Participant

    Never mind. I got it working. Thanks for your help. The problem was when the multisite was created, it looks like the theme used revered back to the parent theme and not the child. Once I activated the child theme again, it worked.

    #1144813
    Thai
    Moderator

    Glad you’ve sorted it out.

    If you need anything else, please let us know πŸ™‚

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