New Landing How can we help? Themeforest Theme Support Flexform Modify the portfolio-carousel.php to display custom post types

Viewing 15 posts - 1 through 15 (of 118 total)
  • Posted in: Flexform
  • #7859
    sam_y2000
    Member
    Post count: 86

    Guy’s – I have editied portfolio-carousel.php to display my custom post types sd_article

    Everything works but the carousel settings list the portfolio categories instead of my custom post type categories so I cannot filter by category.

    I have found the following on line 234:

    “value” => get_category_list(‘portfolio-category’),

    I have tried changing this to article-category as per my CPT but instead of listing all categories it displays:

    ALL
    1
    2

    Selecting 1 or 2 does not function and it reverts to All upon saving, however the carousel is showing all my articles.

    Any idea how I would modify this file to allow me to filter the categories?

    Regards

    Sam

    #8025
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Sam,

    We can’t really help with theme customizations, but to give you a starting point, get_category_list() is a function that retrieves post categories.

    You would need to run your own custom WP query in that file and pull in the taxonomy you have for that CPT.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #8381
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #8542
    Cosmin – SUPPORT
    Member
    Post count: 3851
    This reply has been marked as private.
    #8555
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #8617
    Ben – SUPPORT
    Member
    Post count: 690

    Really sorry to say I’m too busy at the moment to take on extra work. You might want to look into hiring a freelancer from themeforest or something

    Thanks
    Ben

    #8904
    sam_y2000
    Member
    Post count: 86

    No problem guys – custom work aside, what about the issues I raised? nobody has addressed them as yet so I would appreciate a response here.

    With regards to updates to your theme, I have configured a child theme and have modified meta-boxes.php and composer.php in order to have the meta boxes and page builder available on my CPT’s – I followed the advice given by Ed on this post: http://support.swiftideas.net/forums/topic/flexform-theme-child/

    If you’d like to have the page builder in the child theme, then change the parent theme functions.php file line 30 from: include(SF_INCLUDES_PATH . ‘/page-builder/js_composer.php’); to include(get_stylesheet_directory_uri(). ‘/includes/page-builder/js_composer.php’); and copy the file structure in the child theme.

    Unfortunately the meta boxes and page builder just disappear from all post edit pages – the info you provided seems pretty straight forward so not sure what I am missing? Could you please advise.

    Regards

    Sam

    #8932
    Ben – SUPPORT
    Member
    Post count: 690

    Hmm this seems really Odd, I’ll try and get ed in here

    Thanks
    Ben

    #8976
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Do you have the folder /includes/page-builder within your child theme? Are you seeing any errors in the browser console?

    – Ed

    #9765
    sam_y2000
    Member
    Post count: 86

    Hey Ed, sorry – busy week!

    I followed the instructions you posted and copied the builder into the child theme – modified functions.php and the builder no longer appears – revert and all is well – unless I was being stupid I am pretty sure I did it correctly?! – no console error, just doesn’t load.

    I am in the process of migrating data at the moment so will revisit this when I have time – more important is the bug in the portfolio carousel and the testimonials slider – they work fine but if you select an individual category to display then no posts show and no testimonials – leave them set to ‘All’ and it works – my client really needs to display different categories in different areas so it is crucial that this functions correctly.

    I also spotted a small issue where if you set a custom page title in the meta – the title changes correctly but an empty <h3> tag appears – looks like it is the page sub title causing this – if you leave it empty. have hidden with css for now as it causes the title area to appear longer than pages where no custom title is set.

    And in the Portfolio, I cannot use & or + characters in category names! – if i do so the post is not displayed when clicking the category filter, thought it does show there is a post there.

    These may seem like small issues but they are quite important for the site and as yet nobody has acknowledged these issues.

    Any news on an update of the theme?

    Regards

    Sam

    #9807
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Sam,

    The & and + in the category is a known issue, but something that we don’t currently have a workaround for as it’s a jQuery limitation. Not sure if there will be a workaround possible for this, but we are still looking.

    In terms of the other 2 issues, I’ll try and set aside some time over the next few days to look into and get fixes for you where necessary.

    Thanks for letting us know.

    – Ed

    #9837
    sam_y2000
    Member
    Post count: 86

    Thanks Ed, I appreciate your time here!

    Regards

    Sam

    #9970
    sam_y2000
    Member
    Post count: 86

    Hello Ed,

    Sorry to trouble you once more but can I add one more small issue for you to investigate.

    I have just discovered that when using the Portfolio Carousel block, it causes the page to not show up in the rss feed – if I delete the carousel then the item appears in the feed.

    The only reference I could find which helped me pinpoint the problem is that it is a parse error in the rss feed – in this case caused by the Portfolio Carousel block!

    Hopefully this is my last issue – other than that my project is going extremely well thanks to the bootstrap gained from using your template!

    Regards

    Sam

    #10235
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Sam,

    Can you let me know the link to the page with the carousel so that I can do some testing?

    Thanks,

    – Ed

    #10240
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just to let you know, I’ve fixed both the other issues for the next update.

    – Ed

Viewing 15 posts - 1 through 15 (of 118 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register