Find Jobs
Hire Freelancers

Fix Search Function in Wordpress 4.1.1

$10-30 USD

Cerrado
Publicado hace alrededor de 9 años

$10-30 USD

Pagado a la entrega
We are using Wordpress 4.1.1, WooCommerce, and The Events Calendar on our site: [[login to view URL]][1] Here is what is showing up in our search results page: [[login to view URL]][2] The first one is a post and it works, the second one is an event and the third a product (neither of them work). <div class="search_page"> <article class="post-1198 post type-post status-publish format-video has-post-thumbnail hentry category-adventures category-blogs" id="post-1198"> <header class="entry-header"> <a rel="bookmark" href="[login to view URL]"> <img width="110" height="165" alt="-The Long Haul Poster-TRFF Label" class="attachment-300x165 wp-post-image" src="[login to view URL]"> <h1 class="entry-title-search">The Long Haul Screenings at The Trail Running Film Festival</h1> <div class="entry-meta-search"> <span class="posted-on"><time datetime="2015-03-05T17:42:14+00:00" class="entry-date published">March 5, 2015</time><time datetime="2015-03-05T17:50:05+00:00" class="updated">March 5, 2015</time></span> </div> </a> </header> </article> </div> <div class="search_page"> <article id="post-1066" class="post-1066 tribe_events type-tribe_events status-publish has-post-thumbnail hentry cat_events cat_thelonghaulscreenings"> </div> <div class="search_page"> <article id="post-876" class="post-876 product type-product status-publish has-post-thumbnail featured shipping-taxable purchasable product-type-variable product-cat-blu-ray product-cat-download product-cat-dvd product-cat-finishingkick product-cat-hiking-sport product-cat-on-demand product-cat-rental product-cat-running product-cat-screenings instock"> <header class="entry-header"> </header> </article> </div> Here is what the code for our [login to view URL] file looks like right now: <?php get_header(); ?> <section id="primary" class="content-area search "><!--.w-sidebar--> <main id="main" class="site-main" role="main"> <h1 class="search-title">Search Results: <?php echo the_search_query()?></h1> <?php if(isset($_GET['post_type'])) { $type = $_GET['post_type']; $args = array( 'post_type' => $type ); $args = array_merge( $args, $wp_query->query ); query_posts( $args ); } ?> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'search' ); ?> <?php endwhile; ?> <div class="clear"><div><?php undiscovered_paging_nav(); ?> <?php else : ?> <?php get_template_part( 'content', 'none' ); ?> <?php endif; ?> </main> </section><!-- .primary [login to view URL] --> <div class="sidebar-right"> <?php //if ( ! dynamic_sidebar( 'sidebar-right' ) ) : ?> <?php// endif; ?> </div><!-- .sidebar-right [login to view URL] --> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> We can't figure out why they don't show up.
ID del proyecto: 7505401

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
9 freelancers están ofertando un promedio de $35 USD por este trabajo
Avatar del usuario
I can fix the search function to custom post types in results on your wordpress website. I will complete this work in next few hours. Looking for your reply to start this work immediately.
$24 USD en 1 día
5,0 (819 comentarios)
7,7
7,7
Avatar del usuario
Hello Sir this this purpose you need custom query as the current search work for posts only. Please check my profile for work and experience in the similar work. Regards Ashwin
$54 USD en 0 día
5,0 (250 comentarios)
7,4
7,4
Avatar del usuario
Hello! With 98% completion rate, 798 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$44 USD en 1 día
5,0 (566 comentarios)
7,7
7,7
Avatar del usuario
A proposal has not yet been provided
$44 USD en 1 día
4,7 (126 comentarios)
7,0
7,0
Avatar del usuario
Hi, i know what caused problem. Hire me now and get this done fast. Thank you ! .
$35 USD en 0 día
4,9 (363 comentarios)
6,6
6,6
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
5,0 (85 comentarios)
5,8
5,8
Avatar del usuario
A proposal has not yet been provided
$40 USD en 0 día
4,9 (36 comentarios)
4,2
4,2

Sobre este cliente

Bandera de UNITED STATES
Reno, United States
4,8
15
Forma de pago verificada
Miembro desde nov 22, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.