Post Templates in Easy Digital Downloads Product

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!

The Affordable WordPress Framework Forums Basic Support Post Templates in Easy Digital Downloads Product

This topic is: resolved

This topic contains 7 replies, has 2 voices, and was last updated by  sdavis2702 3 years, 9 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4640

    Ageng D Prastyawan
    Participant
    Post count: 5

    Hello,
    How to add the custom post template like Landing Page, Squeeze Page on easy digital downloads product ?

    Thank you Sean

    #4645

    Ageng D Prastyawan
    Participant
    Post count: 5

    You ignoring me 🙁

    #4647

    sdavis2702
    Keymaster
    Post count: 72

    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.

    #4648

    sdavis2702
    Keymaster
    Post count: 72

    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.

    #4649

    Ageng D Prastyawan
    Participant
    Post count: 5

    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 ? 🙂

    #4650

    sdavis2702
    Keymaster
    Post count: 72

    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?

    #4651

    Ageng D Prastyawan
    Participant
    Post count: 5

    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 🙂

    #4654

    sdavis2702
    Keymaster
    Post count: 72

    No problem at all! Sorry again for the delay. I’ll be here if you have anymore questions.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.