linux4me2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 5.5 XML Sitemap Remove Users@otto42, that did the trick.
Thank you very much!
Forum: Themes and Templates
In reply to: [NSFW] [Twenty Sixteen] Compatibility with PHP 7.3I can’t believe nobody has answered this. If you haven’t gotten an answer yet, and are still wondering, yes, Twenty Sixteen is compatible with PHP 7.3, and will also run with PHP 7.4.
As a rule of thumb, if you check the PHP compatibility of WordPress in the Requirements, the default themes like Twenty Sixteen will share the same compatibility/requirements PHP-wise.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Google Search Console – Couldn’t FetchI’ve been following this post, and I just read something that might interest you both.
Apparently, WP 5.5, due out the 11th of this month, is going to feature sitemaps in core.
According to that article, “Each sitemap file contains a maximum of 2,000 URLs per sitemap, when that threshold is reached a new sitemap file is added.”
Forum: Plugins
In reply to: [Menu In Post] HTML formatting of individual menu items@stf2000 I haven’t heard from you in a couple of weeks, so I’m going to mark this thread as solved. If you still need help, just post again.
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown Menu@petitshoo I haven’t heard back from you, so I’m going to assume the workaround/update solved your problem and mark this as resolved. Just post again if you’re still having issues.
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown Menu@stf2000 I’m glad to hear it.
@petitshoo Did the update solve the problem for you?
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown MenuI just uploaded a new version of the plugin that will allow you to set the placeholder text for each shortcode you build. It will be version 1.1.4. It hasn’t shown up on this site yet, but it should shortly.
Once you install the new version, be sure to clear your browser cache if you use the Menu In Post Tools page to build a new shortcode. The new version uses javascript to build the shortcode, and your browser may cache the old version of the javascript, preventing the new code from running.
An alternative to rebuilding your shortcode will be to just add the following attribute to your existing shortcode:
placeholder_text="Racial Equity Resource Guide"That should do the trick, and it will only change the “Select” for that shortcode.
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown MenuYou’re welcome.
I should have the updated version out later today or tomorrow if you’re not in a big hurry.
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown MenuI can see how it would be helpful to be able to specify the text of the placeholder. I will look into adding that functionality to the plugin.
In the meantime, if you are only using the plugin on one page, you can use a text editor to edit the file /wp-content/plugins/menu-in-post/menu-in-post.php and replace this line (line 76):
$args['items_wrap'] = $select . '<option value="#">' . esc_html(__('Select...', 'menu-in-post')) . '</option>%3$s</select>';with this:
$args['items_wrap'] = $select . '<option value="#">' . esc_html(__('Racial Equity Resource Guide', 'menu-in-post')) . '</option>%3$s</select>';That will change the placeholder everywhere you use a Menu-In-Post shortcode to “Racial Equity Resource Guide.” Your changes will be overwritten the next time I update the plugin, but it will get you what you want now, and maybe I can add a setting to change the placeholder text soon.
If you’re using the plugin in more than one place, that won’t help you, unfortunately.
Keep an eye on the changelog of the plugin when I release an update to see if I’ve added the feature, and you can then modify your shortcode to incorporate the setting so it won’t be overwritten in future updates.
I’ll try to post here to notify you when I have the feature added.
Forum: Plugins
In reply to: [Menu In Post] Take “Select” Out of Dropdown MenuWithout the placeholder “Select,” there would be no way to navigate to the link associated with the first menu item, which would be selected by default. The plugin uses the “change” action of the drop-down to navigate to the page associated with the menu item, so without a placeholder, one of the options would already be selected and unusable.
If you tell me what you’re trying to accomplish, I might be able to give you a better answer.
Forum: Plugins
In reply to: [Menu In Post] HTML formatting of individual menu itemsThe changes I made to the plugin don’t affect the classes output for the menu items. I’ll be glad to take a look once you go live with the site.
Forum: Plugins
In reply to: [Menu In Post] horizontal viewI haven’t heard back from you, so I’m going to mark this as resolved.
Forum: Plugins
In reply to: [Menu In Post] HTML formatting of individual menu itemsI took a look at this on my test site as well as a production site, and in both cases the classes I set for the container and menu classes and IDs are present in the front end, but if you just want a single menu item to be affected by CSS, you will be better off using the ID and/or class assigned specifically to that menu item’s “li” tag. I’m not sure if WordPress does that, or the theme, but I suspect that some themes may override it.
If you provide a link to the page you’re working with, I can take a look at your specific issue.
Forum: Plugins
In reply to: [Menu In Post] HTML formatting of individual menu itemsI will take a look.
I have another change I want to make to the plugin as well, so this comes at a good time.
Forum: Plugins
In reply to: [WooCommerce] Out of stock threshold per productIf you already have inventory enabled, you can set individual product low-stock thresholds by editing the product, clicking the Inventory tab, and setting the “low stock threshold.”
The global (default) low-stock threshold is set in WooCommerce -> Settings -> Products “low stock threshold.”