Basic support is open to all members of Volatyl Themes but what about those who need a little more? That's what Volatyl Themes subscriptions are for. The Priority Support subscription gets you more detailed, personal support while the Advanced Development subscription not only includes Priority Support, but also grants you access to premium content only seen by subscribers. This premium content will help you take your Volatyl websites to the next level with advanced development techniques, integration tips, and more information on how to really put Volatyl to use. Check out the subscriptions!
This topic is: resolved
-
Hello,
How to add the custom post template like Landing Page, Squeeze Page on easy digital downloads product ?
Thank you Sean
Not at all! My system failed to email me about your ticket. :/ I just got an email for your second reply. I apologize! I’m replying from my phone at the moment since the email came to it and I see that it’s urgent. As soon as I get home I’ll reply fully.
Alright I’m home now. Sorry again. I’ll have to check on the consistency of my email system.
So the first thing to note is that the Landing Page and Squeeze Page templates are actual WordPress Page Templates. And of course, that functionality is designed to work specifically for pages.
Unfortunately, WordPress does not have a similar functionality for single blog posts. I mention single blog posts because EDD’s downloads are designed to be clones of blog posts by default. They even use the same theme template file. That’s just the default behavior, though. It can be changed to where single downloads use a different template… and that’s what you’re looking for.
To do that, you need to create a file in the root of your child theme called single-download.php
. Then WordPress & EDD know to use that template file instead of the single post template file. Once that file is create in the root of your child theme, place this code in it: https://gist.github.com/sdavis2702/61553657a2c07261bdad
Now this is simple where you start. From here, you customize the template however you’d like. You’re free to do anything in that file that you’d like.
Thanks for the response Sean.
I have followed your instruction, but there is no change with my single download pages (my single download pages is not change to landing page like template)
I have create single-download.php
in my child theme root.
I have paste all of your code from https://gist.github.com/sdavis2702/61553657a2c07261bdad to my single download.
but there is no change with my single download pages.
Is possible if any conflict with my plugins ? 🙂
I didn’t build out the landing page for you. That’s why this is a developer’s framework as mentioned on the home page. 🙂 Are you familiar with PHP and HTML?
oh, I think the code is landing page post type 😀
I am familiar with HTML and php just a little bit. Yeah, I know this is a framework thats why i bought it 😀
Now, my issues is resolved. Btw Thank you Sean 🙂
No problem at all! Sorry again for the delay. I’ll be here if you have anymore questions.
You must be logged in to reply to this topic.