With PHP 8.2 every page load has the following deprecation notice:
Deprecated: Creation of dynamic property DisplayHtmlSitemap::$textdomain_loaded is deprecated in?[path]/wp-content/plugins/display-html-sitemap/display-html-sitemap.php?on line?50
This can be fixed by moving the line $this->textdomain_loaded = false;
to be defined in the class properties e.g. private $textdomain_loaded = false;
this will maintain older PHP version support.
Thanks for the great plugin.
]]>Using the Display HTML sitemap plugin and shortcode and it’s outputting two
<ul class="dhswp-html-sitemap-post-list dhswp-page-list">
<ul>
<li><a href="https://www.url.com/">Home</a></li>
</ul>
</ul>
Functions dhswp_get_post_by_post_type()
has the
dhswp_get_subpost
has the Is there any way to order posts with this plug-in? If not, can this be considered for a future update?
What I’d like to be able to do is to have all posts ordered by date, with the newest ones first. As it is, a lot of older posts (often obsolete) show up at the top.
]]>Hi! Your plugin is exactly what I need.
However I see it generates two “h2” tags but they don’t display anything.
I gather that is should be the title like “Articles” and “Pages” that we can change in the settings. What’s up with that? It’s not CSS, in the source code, H2s are empty.
]]>Thanks for the great plugin. Very easy to use.
I love the ability to add products.
Is it possible to add Product Categories from my Woocommerce store as well?
I didn’t see any options.
Thank you
Alec
Thanks for your plugin. I love that it is able to show products in my WooCommerce store along with posts and pages.
But I have a problem with the settings. I have unchecked all the boxes except for pages, posts and products. But for some reason the changes don’t stick. Here is a screenshot of what I checked – https://screencast.com/t/3FWkhN5aI. But when I save it, the page looks like this https://screencast.com/t/OmrDmxgWD, and when I return to the HTML Sitemap Options screen, most of the boxes are checked again – https://screencast.com/t/kHijD90Njl?
Thanks in advance,
Tom