-
AuthorPosts
-
March 12, 2017 at 8:33 am #1403797
ngiderinParticipantHi 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,
NanangMarch 12, 2017 at 11:43 am #1403880
RupokMemberHi 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!
March 13, 2017 at 10:48 am #1405027
ngiderinParticipantThis reply has been marked as private.March 13, 2017 at 12:40 pm #1405160
RupokMemberHi 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!
March 13, 2017 at 2:32 pm #1405357
ngiderinParticipantHi 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..
March 14, 2017 at 12:12 am #1405900
ChristopherModeratorHi 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.
March 14, 2017 at 6:02 pm #1407219
ngiderinParticipantHi Cristopher
I did the do_shortcode function but it didn’t show the form (screenshot attached). I wonder what went wrong.
Please advice
March 15, 2017 at 1:41 am #1407632
Paul RModeratorHi,
You need to wrap it in php tags.
eg.
<?php echo do_shortcode('[contact-form-7 id="126" title="Cari Indeks Barang"]'); ?>March 15, 2017 at 11:34 am #1408257
ngiderinParticipantThank you Paul, will do try it now and report back the result
March 15, 2017 at 11:50 am #1408283
ngiderinParticipantit works!! Thank you for the awesome support..
March 15, 2017 at 12:06 pm #1408315
Prasant RaiModeratorSure, let us know how it goes.
Thanks.
April 1, 2017 at 7:07 pm #1427100
ngiderinParticipantHi 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…
April 1, 2017 at 7:09 pm #1427103
ngiderinParticipantThis reply has been marked as private.April 1, 2017 at 11:06 pm #1427194
RadModeratorHi 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!
April 2, 2017 at 9:31 am #1427305
ngiderinParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1403797 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
