Support » Theme: Edin » Show 3 Posts Instead 3 Pages On Front Page

  • Hello

    Edin theme is very awesome.
    Below the large featured image on the front page, you can show up to 3 featured pages.

    But I want to show 3 posts instead of featured pages.
    Is there a way to change this option?

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chad

    (@shireling)

    Hm. This is a cool question 🙂

    WordPress has a number different controls you can add into the Customizer, and one of them is dropdown-pages – which is what Edin is using here. There isn’t currently a dropdown-posts that we could employ, so you’d have to build one on your own (this tutorial looks like it might start you in the right direction).

    That’s going to require a fair amount of comfort with PHP/WordPress theming.

    If I were you, I’d probably leave Edin as it is, and use a plugin as a workaround.

    1. Write your three posts
    2. Write a page to go along with those posts – all each one needs
    3. Add those three pages as your Featured Pages in the Customizer

    So far, you’ve got the normal Edin setup, with some extra pages. Let’s add a plugin.

    4. Search for a good redirection plugin
    5. Set each of your featured pages to redirect to the corresponding post
    6. Do a victory lap

    Now Page A will appear on the front page, but when clicked it will actually take people to Post A… and so on.

    Let me know if that sounds like a good approach 🙂

    Hi, Chad

    I think you’re right. It would be easier for me to leave Edin as it is and use redirection plugin. I could edit the PHP file by myself, but unfortunately it will be a problem when I want to update Edin theme and I have to redo every code again.

    Thanks a lot for your help.

    Chad

    (@shireling)

    If you’re comfortable with making the PHP changes yourself, you can do so in a child theme, then the modifications would be protected in an update 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show 3 Posts Instead 3 Pages On Front Page’ is closed to new replies.