Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #1403797
    ngiderin
    Participant

    Hi Team,

    Thank you for the awesome theme, it’s very customizable and really fit to our needs.

    We tried to customize the Nothing to Show Search Result Page as the forum suggestion by changing the text in the _contact-none.php through FTP files. As you may see from the attached picture, we succesfully did, to some extent.

    We still have some customization in mind, but need your advice in following matter:

    1. Changing or eliminating the page title “Search Result”
    2. Adding the Contact Form 7 to gather data from the users.
    3. Made the search bar floats (sample attached)

    We do hope to utilize the page to the max and to provide the best user experience to our users.

    Will be waiting for your advice. Any reply would be highly appreciated

    Thank you,
    Nanang

    #1403880
    Rupok
    Member

    Hi Nanang,

    Thanks for writing in!

    #1. If you are already using Child Theme then you need to amend the file /framework/views/{your-stack}/_landmark-header.php

    #2. You can install Contact Form 7 and use the Cornerstone element or shortcode within Text Element to show the form. What you are facing to do so?

    #3. Do you have the search bar already? Can you provide your URL?

    Thanks!

    #1405027
    ngiderin
    Participant
    This reply has been marked as private.
    #1405160
    Rupok
    Member

    Hi Nanang,

    Thanks for writing back.

    #2. If you want to add the Contact Form shortcode to _contact-none.php then you can use do_shortcode() function like :

    echo do_shortcode( ' [ Contact_form_1 ] ' );

    #3. I can’t see any search bar so I guess you are referring the search modal that offers by X. If you want such search bar then either you need to use a plugin or with custom codes.

    Thanks!

    #1405357
    ngiderin
    Participant

    Hi Rupok,

    It seems like we need further advice for #2. Where should we put the do_shortcode() function in this code:

    ?>
    
    <article id="post-0" class="post-0 post type-post status-publish hentry">
      <div class="entry-wrap">
        <header class="entry-header">
          <h1 class="entry-title"><?php _e( 'Konten yang Anda cari tidak ditemukan.
    
    ', '__x__' ); ?></h1>
        </header>
        <div class="entry-content">
          <p><?php _e( "Bantu kami menyediakan konten yang Anda cari. Silakan isi formulir di bawah ini..
    ", '__x__' ); ?></p>
        </div>
      </div>
    </article> <!-- end #post-0 -->

    Thanks..

    #1405900
    Christopher
    Moderator

    Hi there,

    Please insert shortcode just after following line :

    <p><?php _e( "Bantu kami menyediakan konten yang Anda cari. Silakan isi formulir di bawah ini..
    ", '__x__' ); ?></p>

    Hope it helps.

    #1407219
    ngiderin
    Participant

    Hi Cristopher

    I did the do_shortcode function but it didn’t show the form (screenshot attached). I wonder what went wrong.

    Please advice

    #1407632
    Paul R
    Moderator

    Hi,

    You need to wrap it in php tags.

    eg.

    <?php echo do_shortcode('[contact-form-7 id="126" title="Cari Indeks Barang"]'); ?>

    #1408257
    ngiderin
    Participant

    Thank you Paul, will do try it now and report back the result

    #1408283
    ngiderin
    Participant

    it works!! Thank you for the awesome support..

    #1408315
    Prasant Rai
    Moderator

    Sure, let us know how it goes.

    Thanks.

    #1427100
    ngiderin
    Participant

    Hi Team,

    It’s me again… I had changed the wordpress installation from single website to multisite so I can use Xtheme on my sub-folders.

    I tried to implement the same steps and tweak the _content-none.php. In the network Admin’s (main site) the Not showing page looks exactly like i had intended it to. Yet when we went to the sub-folder site, the form did not shown as it should.

    I wonder what went wrong.

    Please Help…

    #1427103
    ngiderin
    Participant
    This reply has been marked as private.
    #1427194
    Rad
    Moderator

    Hi there,

    Please provide your FTP login credentials as well. We can only check custom template through that.

    And please provide mockup screenshots of how should be displayed.

    Thanks!

    #1427305
    ngiderin
    Participant
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1403797 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>