Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,
    I tried hard to fix it but I’m not good in coding and I don’t know how to proceed.
    Could you please tell me if you can help me with this?
    I’m using Portfolio plus theme and the search.php contains:

    <?php
    
    get_header(); ?>
    
    	<div id="primary">
    		<div id="content" role="main">
    
    			<?php if ( have_posts() ) : ?>
    
    				<header class="page-header">
    					<h1 class="page-title"><?php printf( __( 'Résultat de recherche', 'portfolioplus' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
    				</header>
    
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', 'search' ); ?>
    
    				<?php endwhile; ?>
    
    				<?php portfolioplus_content_nav(); ?>
    
    			<?php else : ?>
    
    				<article id="post-0" class="post no-results not-found">
    					<header class="entry-header">
    						<h1 class="entry-title"><?php _e( 'Aucun résultat', 'portfolioplus' ); ?></h1>
    					</header><!-- .entry-header -->
    
    					<div class="entry-content">
    						<p><?php _e( 'Effectuez une nouvelle recherche en cliquant sur l\'onglet "Projets"', 'toolbox' ); ?></p>
    
    					</div><!-- .entry-content -->
    				</article><!-- #post-0 -->
    
    			<?php endif; ?>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    The index.php contains:

    <?php
    
    get_header(); ?>
    
    	<div id="primary">
    		<div id="content" role="main">
    
    			<?php if ( have_posts() ) : ?>
    
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php
    						/* Include the Post-Format-specific template for the content.
    						 * If you want to overload this in a child theme then include a file
    						 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    						 */
    						get_template_part( 'content', get_post_format() );
    					?>
    
    				<?php endwhile; ?>
    
    				<?php portfolioplus_content_nav(); ?>
    
    			<?php else : ?>
    				<?php get_template_part( 'content', 'none' ); ?>
    			<?php endif; ?>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thank you in advance

    Hi,
    I’m using an “Advance WP Query Search Filter plugin” with this theme and I would like the filter’s search result page to look the same as my home page with clickable thumbnail images.
    As now the search result page shows only permalinks without any thumbnail images.
    Would you please tell me how can I proceed to fix it ?
    Thank you in advance.
    Naghmeh

    Hi,
    Thank you for helping me on my last problem, I have a new question.

    I’m using Portfolio plus as theme, which is an elaborated version of Portfilio press (https://www.ads-software.com/themes/portfolio-press).

    The main page of this theme contains all the pictures of my projects, each picture is also a link to a page.

    My current “search result page” shows a list of the project’s name.

    Is it possible to show results on the main page by keeping just the result pictures and hiding the rest?
    Or, is it possible to show results on a page which looks like the main page and contains the picture of all the projects filtered by “Advance WP Query Search Filter”?

    I appreciate it if you can help me with this problem.

    Thank you very much.I fixed it as you said and it works perfectly as I expected.
    This plugin is awesome!
    Thanks for your quick help.

    Thank you for your response. I removed child from categories but it has the same problem. I use “Portfolio plus” as theme and I have “portfolio category” and “portfolio tag”.

    You can see from the video on the link below that I tried to set “Date” as “portfolio tag” and it worked but I have still “Type” and “Status” which are in “portfolio category” and have the same problem.

    The link for the video is : https://sdrv.ms/1dvO2Xf

    Please let me know if I can do anything to solve the problem. Thanks

    Hi,
    For me the “Exclude ID” doesn’t work neither.
    Would you please tell me how you solved this problem?

    I use categories like this :
    Type:
    -a
    -b
    -c
    Date:
    -d
    -e
    -f
    Status:
    -g
    -h
    -i
    For example, I excluded the IDs of “Date” and “Status” in the “Type” category but in my dropdown list I can still see all the categories and sub categiries.
    I also tried to exclude all the IDs of both categories and sub categories but it doesn’t work either.
    Thank you in advance for your help.

Viewing 6 replies - 1 through 6 (of 6 total)