fmarzocca
Forum Replies Created
-
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorCan I take advantage of your courtesy?
If you edit the fileACT-displayer.php
in:
wp-content/plugins/list-all-posts-by-authors-nested-categories-and-titles/include
go to the very end of the file and replace the functionget_cats_by_slug
with this one:function get_cats_by_slug($catslugs) {
$catids = array();foreach($catslugs as $slug) {
if (!get_category_by_slug($slug) ) break;
$catids[] = get_category_by_slug($slug)->term_id;
}
return $catids;
}Then remove the
exclude
in the shortcode and let me know if it works. In such a case I will deploy a new version.Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorAt the moment I have no plans to update to php 8, but can you pls make a test? Create an empty Category (i.e.: test) and then exclude that category from your shortcode:
[ACT-list show="Author" exclude="test"]
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorOk. Thank you!
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorIn any case, if WP_DEBUG is false, it must not display that warning.
define('WP_DEBUG', FALSE);
- This reply was modified 1 year, 9 months ago by fmarzocca.
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorThis is mine, working:
[ACT-list show="Author" exclude="News" reverse-date=1 ?postdate=1 ]
Don’t you have unpublished articles, or orphaned/unclassified categories? The error is coming from an invalid category, but this is the first time I see it. Don’t you have the chance to switch to PHP 7.x for a test?Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorCan you pls post the Shortcode you are using to display that page?
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorMmmh. I haven’t tried yet with php 8…
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorBe sure that each of your Category has a slug.
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] php errorI will have a look, but it is a Warning, so it doesn’t hurt. In the meantime, disable WP_DEBUG in your
wp-config.php
What version of php and WordPress are you running?
- This reply was modified 1 year, 9 months ago by fmarzocca.
Forum: Reviews
In reply to: [List all posts by Authors, nested Categories and Titles] Doesn’t WorkThere are thousands of installations currently running. So it does work.
I suspect some of the plugins you have installed may interfere. You should disable some of them to understand which one.In addition: when reporting an issue, pls include your WordPress and PHP versions.
- This reply was modified 1 year, 9 months ago by fmarzocca.
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] Posts whown twiceYour posts are wrongly assigned to categories. Re-check how are you managing categories, you can’t put a post simultaneously in a category and in its subcategory.
- This reply was modified 3 years, 5 months ago by fmarzocca.
Forum: Plugins
In reply to: [List all posts by Authors, nested Categories and Titles] Posts whown twiceYou can exclude categories you don’t need in the admin interface of the plugin.
Unfortunately not. The plugin is named “list ALL posts….”. But if you peek&poke in the code, it should not be difficult to achieve your target.
No, you can use custom post types assigned to a standard category.