Hi team, thanks in advance.
I just copied single.php from ENFOLD folder to ENFOLD-CHILD folder as phb-tbwa-single-post.php and in the top of php i write:
<?php
/*
Template Name: Single Post
Template Post Type: post
*/
Is the same file as single.php but with this extra name to appear in the selected list of templates in POST ENTRY.
The problem is that the content is different when I use one of both.
Here is the video file with the problem
https://drive.google.com/file/d/13-X3gCsNpuK2bEM2H8dhmdbtOb6B1kyp/view?usp=sharing
Thanks.
Hey digitalt20,
Thank you for the inquiry.
It looks different because the Advanced Layout Builder (ALB) is active. In this case, the theme switches to the template-builder.php file and does not use the custom template or single.php file.
Best regards,
Ismael
My God… Thank you Ismael. I change the file immediately.
Close the topic ;)
Ups¡¡ Wait a minute ;)
I copy template-builder.php as template-builder-single.php and in the new file I write the name:
<?php
/*
Template Name: Single ABL
*/
In which folder will I save the new file, for this will appear in the Template List Selector on the Post Page?
I copied in my enfold-child (root) and not appear, neither in enfold-child/includes ;(
Thanks.
Hi,
Why do you need to select a template? Unfortunately, you cannot override the template-builder.php file, as it is a special file used exclusively by the Advanced Layout Builder (ALB). If you want to use a custom template, you have to disable the ALB or switch to the default editor.
Best regards,
Ismael
Ok, thanks… now you can close the topic ;)
Hi,
Thanks for letting us know. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard