Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #389903

    Hello,

    I want to take the portfolio category filters on this page

    http://kriesi.at/themedemo/?theme=enfold

    and put them on the blog posts widget.

    I’ve figured out where the php for the avia shortcodes is, which tags modify what and I’ve got a plan in mind for how to do it but I’m confused because I’ve noticed that the portfolio.php shortcode file has a function called public function html() the blog.php file doesn’t seem to have that so I’m wondering how to modify the php file to include that html code. Any and all advice would be appreciated.

    Thanks!

    #390091

    Any advice?

    Specifically: What do I do to modify the html structure of the Blog Post element?

    • This reply was modified 9 years, 9 months ago by snxodesk.
    #390409

    Hi!

    You need to remove the demo bar (at the top of the page) when linking to the demo pages.

    It sounds like your trying to add the sort feature to the blog posts shortcode correct? Instead you will want to use the Masonry shortcode as it does this already. You can select whatever post categories you wish to use and change the style of how they display.

    If that’s not correct then send us a link to your page and take a screenshot highlighting what your trying to do so we can get a better idea.

    Cheers!
    Elliott

    • This reply was modified 9 years, 9 months ago by Elliott.
    #390482

    Thanks for the reply!

    The best way to describe what I want to do is that I actually want to convert the category list to a dropdown and also add a second drop down beside it to choose whether to sort by date/time/etc.

    The closest example I can find is the shop page on the enfold demo(hopefully I link it correctly this time) http://kriesi.at/themes/enfold/shop/

    I want to basically add the sort by dropdown that the shop page has and replace the options of the “display # products” dropdown with category options.

    The other thing I’m trying to gain from this is figuring out the data and class flow of the theme. How user inputs are handled and sent to the appropriate functions and queries. That’s why I also want to know why the portfolio file has a public html() function but the blog file doesn’t.

    #391440

    Hey!

    Unfortunately that customization is going to take a lot of time and code so it would be best to hire a freelancer to help you out.

    It seems like a cool idea though so consider filling out a feature request, https://kriesi.at/support/enfold-feature-requests/, and we may see something get added in a future update.

    To answer your other question, the blog.php shortcode uses the loop-index.php template to display the entries so the html() function is not needed.

    Cheers!
    Elliott

    • This reply was modified 9 years, 9 months ago by Elliott.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.