joe_bopper
Forum Replies Created
-
Forum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] Remove Text Before Input BoxHi and_e30,
functions.php is the right place. Your issue comes on the line:
$text = ”; //for nothing
You have used a double quotation mark rather than two single quotation marks (i.e.,
"
rather than''
).That said, you may as well simply delete this line as it does nothing of worth; it is simply there to demonstrate that the old
$text
value was being overwritten.Hope this helps.
Cheers,
JoeP.S., it’s also worth noting that
myslug
should be changed to your theme’s text domain – usually the same name as the theme’s folder.Hi elzadra,
I’m not sure I know what you mean? The default class that this plugin adds is
.bop-nav-search
, but you can change this when editing the search box in the admin area (bear in mind that WP likes to hide this through screen options). The easiest way to make changes to your site’s styles is to use a bit of trial and error through your browser’s dev tools and then add those changes to your theme’s custom css.Cheers,
JoeP.S., This and the previous are more than adequate answers as the questions’ content is entirely in the area of themeing – thus a theme author’s/site developer’s job and irrelevant to this plugin (a functional plugin that only provides the default WP html). Bear in mind that I’m not affiliated with any themes and I am providing this plugin and its support purely on a free and voluntary basis (which is true of most plugin authors).
Forum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] Show searchbar on clickNo problem.
Cheers,
JoeForum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] Show searchbar on clickHi Conny,
Are you attaining the hover display by css? If so, you can change the
:hover
pseudo-class to:focus
.If you’re using the codepen example, simply removing the
:hover
(.bop-nav-search input[name="s"]:hover
) selector will do it as the:focus
one is already there.Hope this helps.
Cheers,
JoeHi eforreal79,
I’m afraid your issue isn’t to do with this plugin. This plugin plays no part in the display of search results or the search function itself; it only adds a search box to the menu. As it is to do with display, it seems very likely that this is an issue with your theme (and/or a conflict with another plugin).
As it is outside the remit of this plugin, I’m marking this question as resolved.
I wish you luck in finding what’s wrong.
Cheers,
JoeHi,
I haven’t actually personally tested in 7.1 yet; 7.0 is as far as I’ve checked. Having looked through the changes between them though, I’m quite certain there won’t be any problems as none of them are in use in this plugin’s code.
Cheers,
JoeForum: Reviews
In reply to: [Bop Search Box Item Type For Nav Menus] Not GoodHi Wp_M@hi,
Sorry to be curt, but This Review Not Good.
I (and all plugin authors) would much prefer users to be constructive in their criticism.
If you’re having issues with the plugin, please do start a support thread here.
Joe
Forum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] Magnifier icon into Bop Search BoxHi bugnish,
Sorry for taking a while to get back to you and thanks for the positive feedback.
Yeah, the best way to go about that would be with css. WordPress now has the capacity for admins to add custom css in the Appearance > Customizer.
Let me know if you need any further assistance.
Cheers,
JoeForum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] TranslationHi sm0rgm,
Sorry for taking quite a while in getting back to you and thanks for your interest in translating.
Would you be able to point me to where it says this? I’d hoped the plugin was ready for translation; I think I followed the right procedures.
Cheers,
JoeHi lostechoes,
Sorry for taking a little while to respond.
The issue you’re having is a themeing one and therefore outside the remit of this plugin. That said, it shouldn’t be too difficult a job to do yourself. If you go into the customizer (Appearance > Customizer), there should be a tab called Additional CSS that you can use to change stuff. Here’s the wp codex page on the subject: https://codex.www.ads-software.com/CSS
Hope this helps. Let me know if you need any further assistance.
Cheers,
JoeForum: Reviews
In reply to: [Bop Search Box Item Type For Nav Menus] Great PluginThanks.
Forum: Plugins
In reply to: [Bop Search Box Item Type For Nav Menus] v4.7.5 ?Hi Marc,
I can confirm this is working in 4.7.5. I’m unsure what the issue the latest reviewer has and am trying to help get to the bottom of it.
I will update the plugin metadata shortly.
Cheers,
JoeForum: Reviews
In reply to: [Bop Search Box Item Type For Nav Menus] No Longer WorksHi,
I’m sorry to hear you’re having problems. That said, I have a test environment which is running both perfectly fine. Are there any further details you can give me about your situation? The most common issue in this area is that search box isn’t ticked in the screen options of the page (while I disagree with how WP defaults in this area, this isn’t something the plugin can have control over especially).
Cheers,
JoeNo problem. I’m pleased you got it all sorted.
Hi,
There are filters in the plugin that allow you to modify the output. In this case, you could use:
add_filter( 'bop_nav_search_show_submit_button', function( $show, $item, $depth, $args ){ $show = false; ?> <button type="submit" class="search-submit" value="Search"></button> <?php return $show; }, 10, 4 );
Adding this to your functions.php will stop the default input element from being shown and will instead output the button element.
Hope this helps.
Cheers,
Joe- This reply was modified 7 years, 6 months ago by joe_bopper. Reason: Clarity: 'default button' changed to 'default input element'