Okay
  Public Ticket #1389249
Portfolio Items - custom query
Closed

Comments

  •  1
    dainiusch started the conversation

    Hi there,

    I am using a Portfolio Page template to display my portfolio items. I am customizing this, however changes do not take effect. I looked at documentation already and I have understanding on how to build custom query. Could you point me to the right direction.


    Many thanks

    Dainius

  • [deleted] replied

    Hi dainiusch,

    Can you please consider sharing with us WP Credentials please, we have to look from close view this issue.

    Thank you.

  •   dainiusch replied privately
  • [deleted] replied

    Hi dainiusch

    1) I was able to fix your issue by changing the url of page,


    (view large version)

    2) When you say Gallery you mean for Portfolio Items or inside Portfolio Item.

    Thank you.

  •   dainiusch replied privately
  • [deleted] replied

    Hi dainiusch,

    Thats the archive page of post type portfolio and will be there always. You can disable if you want by adding the code below in function.php

    function portfolioposttype_args_disable_archive( $args ) {
    	$args['has_archive'] = false;
    	return $args;
    }
    add_filter( 'portfolioposttype_args', 'portfolioposttype_args_disable_archive', 100 );

    Read the following article to learn How to Add Custom Code to your site.

    Thank you.

  •  1
    dainiusch replied

    thank you for clarifying the behavior. 

    Many thanks

    Dainius

  • [deleted] replied

    Hi there,

    I'm glad to hear that

    P.S: If you like our theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.  A huge thank you from Laborator in advance and have a great week!

    Will set this ticket as solved from here.

    Thank you.