-
AuthorPosts
-
September 2, 2015 at 10:55 pm #497394
Hi there,
I’m trying to finish my integration with Awesome Support and ran into an issue that I can’t figure out an answer to. Specifically I’m hung up on this step https://getawesomesupport.com/documentation/awesome-support/ticket-details-page-template/. I want to be able to customize the page using the builder to keep it consistent with my other pages, but I’m not sure how to go about it. Any tips for me?
Thank you!
September 2, 2015 at 11:27 pm #497403Hey kyle123!
Please see – http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/
Cheers!
YigitSeptember 2, 2015 at 11:31 pm #497407Thanks, I came across that, but I’m still a little lost. I can add this to my function file, then I sub in wpas_single_ticket(). Then what?
September 3, 2015 at 12:06 am #497425Hey!
What is the name of your post type? Please replace it with ‘post’ in the code
Cheers!
YigitSeptember 3, 2015 at 5:48 pm #497848Post type is Ticket. I’ve added it, but now where do I go to actually edit the builder that this post type will use?
Thanks!
September 3, 2015 at 5:51 pm #497854Hi!
Please create a new post with your post type and Advanced Layout Builder should be enabled
Cheers!
YigitSeptember 3, 2015 at 5:56 pm #497861I don’t create these posts however, they are auto-created by WordPress when a user submits a ticket. Therein lays the problem. I want to define the template for this post type to use when WordPress auto generates it.
September 4, 2015 at 11:48 am #498258Hi!
You won’t be able to use the Enfold builder (ALB) to create a singular post template (single-ticket.php), it needs to be written in HTML. One thing you can do is create a Page (with ALB) as a model and use the generated HTML source for the post template, for example, the code of a typical Color Section looks like this:
<div id="av_section_1" class="container_wrap alternate_color"> <div class="container"> ... </div> </div>
Regards,
JosueSeptember 4, 2015 at 7:06 pm #498564Thanks Josue. After much experimenting and reverse engineering I was able to create the one-off page template that I needed by hard-coding it. It took a while, but I got it.
Thanks!
September 4, 2015 at 8:35 pm #498588You are welcome, glad you managed to pull it off :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.