Tagged: x
-
AuthorPosts
-
August 22, 2016 at 7:42 pm #1142313
jclay12345ParticipantI 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.phpRenamed 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.
August 23, 2016 at 2:48 am #1142711
RupokMemberHi 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!
August 23, 2016 at 6:44 am #1142926
jclay12345ParticipantI just tried that and it still doesn’t show up. Does it have something to do with me running multisites?
August 23, 2016 at 10:01 am #1143185
ThaiModeratorHi 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 credentialsDonβt forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
August 23, 2016 at 11:51 am #1143413
jclay12345ParticipantThis reply has been marked as private.August 23, 2016 at 7:15 pm #1143888
jclay12345Participantany ideas?
August 23, 2016 at 11:36 pm #1144194
LelyModeratorHi 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.
August 24, 2016 at 6:24 am #1144522
jclay12345ParticipantI 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.
August 24, 2016 at 6:37 am #1144531
jclay12345ParticipantNever 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.
August 24, 2016 at 10:14 am #1144813
ThaiModeratorGlad you’ve sorted it out.
If you need anything else, please let us know π
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1142313 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
