Support » Plugin: Zilla Portfolio » Portfolio Page

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

    (@mbsatunc)

    By default, you can create a page titled ‘portfolio’ that will automatically load the portfolio archive page. Alternatively, within your theme’s functions.php file, you can add the following to disable to the automatic portfolio archive as well as to prevent the default CSS from loading.

    // Prevent archives for the portfolio plugin; will use a custom page template
    if( !defined('TZP_DISABLE_ARCHIVE') ) define('TZP_DISABLE_ARCHIVE', TRUE);
    // Prevent Zilla Portfolio CSS from loading
    if( !defined('TZP_DISABLE_CSS') ) define('TZP_DISABLE_CSS', TRUE);

    By doing this, you can then create a custom page template that loads the portfolio items with a custom WordPress loop. You’ll query the post type of ‘portfolio’.

    For the portfolio-type archives, you can create a taxonomy-portfolio-type.php file that will load the portfolio type archives, or let the theme default to archive.php.

    I’m not sure what you are requesting with “add transactions and effects for the portfolio”.

    Plugin Author marksouthard

    (@mbsatunc)

    Marking resolved.

    Hi,

    As you said in the other post to view Portfolio Type (Category). The portfolio type category pages can be reach via a slug similar to this: /portfolio-type/animation. I’m using that fine but how to do pagination.

    What I meant by transition is effects I already applied certain effect but I also like to know if it’s possible to do Ajax pagination for it.

    Plugin Author marksouthard

    (@mbsatunc)

    The plugin should rely on the archive.php file to display the archive pages unless a taxonomy-portfolio-type.php file is included in the theme. If you add that, a standard WordPress loop should paginate automatically as any other index or archive page would.

    AJAX pagination is certainly possible, but is something that you would be responsible for adding via the theme. AJAX pagination will not be included as part of the plugin.

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