Title: MediaCenter Theme
Last modified: August 29, 2018

---

# MediaCenter Theme

 *  Resolved [mo7900](https://wordpress.org/support/users/mo7900/)
 * (@mo7900)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/)
 * Hi, would like to know if the mediacenter theme is compatible with this plugin?
 * [https://themeforest.net/item/mediacenter-electronics-store-woocommerce-theme/9177409](https://themeforest.net/item/mediacenter-electronics-store-woocommerce-theme/9177409)
 * We installed and indexed the products and product variation options, and have
   disabled the theme search option, however no luck of search results showing up
   in the front end.
 * Also would like to know where exactly the indexed files are stored for this plugin?
 * Thank you!

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

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-10638506)
 * I have no way to tell, because that is a premium theme and I have no access to
   it. I took a look at the demo, and it looks like a fairly standard WooCommerce
   theme, so there are no obvious reasons why it wouldn’t work.
 * That AJAX dropdown isn’t likely compatible with Relevanssi, though. If you can
   show me the search results template of theme, that would help.
 * The search index is stored in the `wp_relevanssi` database table.
 *  Thread Starter [mo7900](https://wordpress.org/support/users/mo7900/)
 * (@mo7900)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-10639726)
 * Hi Mikko, Thanks for the quick reply.
 * Below is the code from theme>mediacenter>searchform.php
 * <?php global $s;
    /** * The template for the search widget */
 * // The value of the field
    $inputValue = ($s) ? $s : ”; ?> <div class=”clearfix”
   > <form id=”search” class=”search-form” role=”search” method=”get” action=”<?
   php echo esc_url( home_url( ‘/’ ) ); ?>”> <div class=”form-group”> <label for
   =”page-search” class=”sr-only”><?php echo __( ‘Type your search here’, ‘mediacenter’);?
   ></label> <input type=”search” name=”s” id=”s” class=”search-input form-control”
   placeholder=”<?php echo __( ‘Type to search’, ‘mediacenter’ ); ?>” autocomplete
   =”off” value=”<?php echo $s;?>”> </div> <button type=”submit” class=”page-search-
   button”> <span class=”fa fa-search”> <span class=”sr-only”><?php echo __( ‘Search’,‘
   mediacenter’ ); ?></span> </span> </button><!– /.page-search-button–> </form>
   <!– /.search-form –> </div> ______________________________________________________________________
 * Also from theme>mediacenter>templates>header>mc-search-bar.php
 * <?php
    /** * Search Bar * * [@author](https://wordpress.org/support/users/author/)
   Ibrahim Ibn Dawood * [@package](https://wordpress.org/support/users/package/)
   Templates/Sections */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } if( is_rtl() ) {
   $dir_value = ‘rtl’; } else { $dir_value = ‘ltr’; }
 * if( is_woocommerce_activated() ) :
    $dropdown_categories = ”; $selected_cat =
   isset( $_GET[‘product_cat’] ) ? $_GET[‘product_cat’] : ‘0’; $group_addon_es_class
   = ”;
 * if( apply_filters( ‘mc_enable_search_dropdown_categories’, true ) ) {
    $dropdown_categories
   = wp_dropdown_categories( apply_filters( ‘mc_search_dropdown_categories_args’,
   array( ‘show_option_all’ => __( ‘All Categories’, ‘mediacenter’ ), ‘taxonomy’
   => ‘product_cat’, ‘hide_if_empty’ => true, ‘name’ => ‘product_cat’, ‘selected’
   => $selected_cat, ‘value_field’ => ‘slug’, ‘echo’ => 0, ) ) );
 *  if( ! empty( $dropdown_categories ) ) {
    $group_addon_es_class = ‘has-categories-
   dropdown’; } } ?> <div class=”mc-search-bar”> <form role=”search” method=”get”
   action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”> <div class=”input-group”>
   <label class=”sr-only screen-reader-text” for=”s”><?php echo __( ‘Search for:’,‘
   mediacenter’ );?></label> <input type=”text” class=”search-field” dir=”<?php 
   echo esc_attr( $dir_value ); ?>” value=”<?php echo esc_attr( get_search_query());?
   >” name=”s” placeholder=”<?php echo esc_attr( __( ‘Search for products’, ‘mediacenter’));?
   >” /> <div class=”input-group-addon <?php echo esc_attr( $group_addon_es_class);?
   >”> <?php echo $dropdown_categories; ?> <button type=”submit”><i class=”fa fa-
   search”></i></button> <input type=”hidden” id=”search-param” name=”post_type”
   value=”product” /> </div> </div> </form> </div> <?php else : ?> <div class=”mc-
   search-bar”> <form method=”get” action=”<?php echo esc_url( home_url( ‘/’ ) );?
   >”> <div class=”input-group”> <label class=”sr-only screen-reader-text” for=”
   s”><?php echo __( ‘Search for:’, ‘mediacenter’ );?></label> <input type=”text”
   class=”search-field” dir=”<?php echo esc_attr( $dir_value ); ?>” value=”<?php
   echo esc_attr( get_search_query() ); ?>” name=”s” placeholder=”<?php echo esc_attr(
   __( ‘Search’, ‘mediacenter’ ) ); ?>” /> <div class=”input-group-addon”> <button
   type=”submit”><i class=”fa fa-search”></i></button> </div> </div> </form> </div
   > <?php endif; ?>
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-10642390)
 * These are search forms, but I’d need to see the search results template. It is
   likely in search.php.
 *  Thread Starter [mo7900](https://wordpress.org/support/users/mo7900/)
 * (@mo7900)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-10642950)
 * Hi, thank for the reply again. Searched the entire theme and did a cpanel search
   too, there is no search.php file in the theme.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-10645529)
 * Ah, that’s part of the reason then. I’d need to see the whole theme then, but
   it may be quite tricky to make the theme Relevanssi compatible.
 *  Thread Starter [mo7900](https://wordpress.org/support/users/mo7900/)
 * (@mo7900)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-11204693)
 * Hi There,
 * Sorry to bump this again, since this did not work for me. I uninstalled the plugin,
   but I noticed that in the back-end (Since this plugin was activated), the product
   search is not loading anything and time-outs. However, as mentioned, this plugin
   is uninstalled.
 * I just want to know, if there are any files stored in the server I should remove/
   delete as well? (maybe in phpmyadmin), etc.
 * Thank you!

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

The topic ‘MediaCenter Theme’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mo7900](https://wordpress.org/support/users/mo7900/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/mediacenter-theme/#post-11204693)
 * Status: resolved