Support » Plugin: Zilla Portfolio » Portfolio Plugin

  • Resolved c05338

    (@c05338)


    Hi marksouthard,

    Your plugin is nice and I liked it however I have couple of important questions.

    How to build a slider gallery? Is it compatible with any Gallery plugin?
    How to customize single page? Portfolio Type Category Page? Add transitions?
    Can we add more features to the portfolio like tags or location or area?

    Thank you for your support!

    https://wordpress.org/plugins/zillaportfolio/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author marksouthard

    (@mbsatunc)

    Hello,

    The plugin will output gallery images as an unordered list. This could be added onto with a slider should you choose to do so. Additionally, you could remove the filter that adds the portfolio gallery onto a portfolio post, and use a Gallery plugin to handle the galleries for portfolio posts.

    remove_filter('tzp_add_portfolio_post_media');

    The single portfolio page is highly customizable. You would create a single-portfolio.php file in a theme, otherwise the single.php file will be used to display the portfolio post. I would suggest removing the following to two filters and outputting the content directly:

    remove_filter('tzp_add_portfolio_post_media');
    remove_filter('tzp_add_portfolio_post_meta');

    The portfolio type category pages can be reach via a slug similar to this: /portfolio-type/animation

    You can add more features to the individual portfolios. I’ve written the metabox code so that it is fairly easy to hook into them to add additional fields. Have a look at the following two actions:

    tzp_portfolio_settings_meta_box_fields
    tzp_metabox_fields_save

    Thread Starter c05338

    (@c05338)

    Hi,

    I don’t want to remove the built-in gallery option however should I add my own Jquery transition to make the images slide or I can connect with other Gallery plugin. That was my question.

    Second I prefer to use single-portfolio.php not to effect the blog file however what are the parameters used to read the contents like Portfolio Information (Client, Date, URL)?

    Please can you elaborate why remove these 2 filters?
    remove_filter(‘tzp_add_portfolio_post_media’);
    remove_filter(‘tzp_add_portfolio_post_meta’);

    These will help me add more filters?
    tzp_portfolio_settings_meta_box_fields
    tzp_metabox_fields_save

    Thread Starter c05338

    (@c05338)

    Hi,

    Another question I have please.

    How to get list posts of certain category as menu.

    I want the side menu to have the list of posts of current category including current post shown.

    Plugin Author marksouthard

    (@mbsatunc)

    Hello,

    You do not want to use another gallery plugin. You want to use a jQuery plugin to add the slider effect to the existing HTML.

    The single-portfolio.php file will only be applied to portfolio posts and not regular blog posts. The tzp_add_portfolio_post_media filter prepends the media elements to the_content(). The tzp_add_portfolio_post_meta filter append the meta elements to the_content(). By removing these two filters you will prevent the media and meta from being added automatically to the code. You can then write your own functions to output the content. In theory, you could use those same two function within the single-portfolio.php file. They expect the content to be passed to them, but you could pass an empty string and then output the resulting code.

    The tzp_portfolio_settings_meta_box_fields and tzp_metabox_fields_save functions could be used in part to add additional metabox fields. Alternatively, you could use advanced custom fields to add any extra custom meta fields. If you add additional fields, you will need to write your own function output the portfolio meta content as the plugin is set up to only output the ones that come packed with the theme.

    Plugin Author marksouthard

    (@mbsatunc)

    To display portfolio types or portfolio posts as a menu item, you can go to the Menu Manager page. In the upper right corner you will find “Screen Options”. Expand that and check the box next to Portfolio Posts and Portfolio Types. You will now have these two available to add to menus.

    Thread Starter c05338

    (@c05338)

    Hi,

    So now I’ll disable all automatic filters and styles loading and I want to create custom load however how to load certain filter like date or url or text or gallery?

    What are the parameters or codes?

    Thread Starter c05338

    (@c05338)

    Hi,

    The solution you gave me regarding posts isn’t the one I’m looking for.

    What I want is a code that loads related posts of the same category/type with the current post loaded.

    Example:

    Port1 and Port2 and Port3 are in Type1

    So when I click on Port1 and it loads I get a sidebar menu.

    Type1
    —-
    Port1 (current)
    Port2
    Port3

    This is the way it should work

    Plugin Author marksouthard

    (@mbsatunc)

    For information about the plugin, please view https://wordpress.org/plugins/zillaportfolio/other_notes/

    As for outputting the portfolio types in a portfolio post, you can use either get_the_terms (http://codex.wordpress.org/Function_Reference/get_the_terms) or the_terms (http://codex.wordpress.org/Function_Reference/the_terms). portfolio-type will be the taxonomy.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Portfolio Plugin’ is closed to new replies.