-
AuthorPosts
-
September 30, 2024 at 10:34 pm #1468127
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=sharingThanks.
October 1, 2024 at 5:10 am #1468140Hey 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,
IsmaelOctober 1, 2024 at 8:28 am #1468146My God… Thank you Ismael. I change the file immediately.
Close the topic ;)
October 1, 2024 at 9:27 am #1468150Ups¡¡ 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.October 2, 2024 at 4:46 am #1468240Hi,
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,
IsmaelOctober 2, 2024 at 9:13 am #1468251Ok, thanks… now you can close the topic ;)
October 2, 2024 at 10:56 am #1468260Hi,
Thanks for letting us know. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Customize single.php whit new name’ is closed to new replies.
