erik
Forum Replies Created
-
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportThis is working for frontend display except the permalink to the custom taxonomy has /custom_taxonomy/ hardcoded and does not link properly to the taxonomy path fyi.
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportOk I was able to get the display I needed but I had to edit core to accomplish.
I would like to propose the following update that I think will help anyone else who may run into this issue:
if shortcode show_custom_taxonomies=’true’ then use custom post type ui as you mentioned.
otherwise if shortcode show_custom_taxonomies=’name-of-taxonomy’ instead of true run the following in NetsPostsUtils.php:
function netsposts_get_post_custom_taxonomies( int $post_id ): array{ $custom_taxonomies = 'name-of-taxonomy'; return wp_get_post_terms( $post_id, $custom_taxonomies ); }
This is a simple way to work with that plugin as well as taxonomies added via templates or other plugins.
Hope that helps. Thanks
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportThanks. I am using Rehub. Themeforest link: https://bit.ly/2rfw0YA
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportDarn. Do you have a github link or code example for adding something custom to the shortcode output? I will try to accomplish the output of a custom taxonomy myself if this dependency on another plugin is required because my taxonomy is added by a popular template. Thanks
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy Supportstill can’t get custom taxonomy to display ??
i have tried every variation of shortcode in this topic but none of them have showed any difference on the frontend.
here is my shortcode currently:
[netsposts filter_by_title_keywords='keyword' include_link_title='true' include_blog='2,4' paginate='false' meta_info='true' titles_only='true' list='100' show_categories='true' show_all_taxonomies='true' show_all_taxonomy_types='true']
still only shows title and category only, no additional taxonomy displayedany ideas?
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportThat is correct! Thank you. Looking forward to your update.
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportHmm it seems to be partially working. I have updated my shortcode to the following
[netsposts filter_by_title_keywords='keyword' include_link_title='true' include_blog='2,4' paginate='false' meta_info='true' titles_only='true' list='100' show_categories='true' taxonomy_type='store' taxonomy='' show_custom_taxonomies='true' show_custom_taxonomy_icon='true']
To clarify I have a new taxonomy called “store” which has 100s of stores and I am not trying to filter by them or add a new one in each post as the list grows over time. I am filtering via the “keyword” and just want to show all posts that have this keyword and their categories/store taxonomy terms.
I can see adding a store term to “taxonomy=” does indeed filter the list but I need to show all stores and in no case does it actually show the store term name on the frontend of the list for me.
I am looking for this HTML output basically:
<div class="netsposts-content blog-4 post-763 category-name custom-taxonomy-storename" style=""> <a href="https://permalink" class="netsposts-posttitle-link">Post Title</a> <div class="netsposts-categories"><a href="https://cat-permalink" class="">Online</a></div> <div class="netsposts-custom-taxonomy"><a href="https://store-permalink" class="">Store</a></div> </div>
Hope that clarifies. Let me know if this is still possible and what I am missing.
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportMy shortcode is the following:
[netsposts filter_by_title_keywords='keyword' include_link_title='true' include_blog='2,4' paginate='false' meta_info='true' titles_only='true' list='100' show_categories='true' show_custom_taxonomies='true' show_custom_taxonomy_icon='true']
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportHmm show_custom_taxonomies=’true’ does not show custom taxonomy terms on post listing for me. I still just see category. Any Ideas?
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportNot live to public but here is a screenshot: https://imgur.com/onJ6V8V
What you see is red = site 1, blue = site 2, preview and online are categories. I would like to add custom taxonomy underneath and use custom taxonomy class to add an icon.
I am not using any tags on posts since the custom taxonomy that came with the wordpress theme i am using and has more fields specific to my needs.
Let me know. Thanks
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportNot showing the custom taxonomy with link in a network post listing. It currently only shows the category taxonomy term.
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportI updated the shortcode but custom taxonomy does not display:
[netsposts filter_by_title_keywords='keyword' include_link_title='true' include_blog='2,4' paginate='false' meta_info='true' titles_only='true' list='100' show_tags='true' show_categories='true' show_custom_taxonomies='true']
I do see a div called “netsposts-terms” but its empty. Any ideas what I am missing?
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportThanks. customtaxonomy-id class would be great! and yes category-id is already included and working fine.
show_tags and show_categories both work so I guess what I am looking for is show_customtaxonomy=’true’ if possible
With customtaxonomy-id class and show_customtaxonomy option I would be golden in my project.
Forum: Plugins
In reply to: [Network Posts Extended] Custom Taxonomy SupportOkay adding taxonomy_type=”custom” taxonomy=”term” works in showing me listings of just that taxonomy but I have hundreds of terms and “all” does not seem to work here. I am filtering by keyword fyi and do not need to filter by taxonomy.
How can I show all posts and simply include the new taxonomy in the network ext posts output rather than filter by it.
I am hoping for output that looks like:
– Wrapper has classes category-term and customtaxonomy-term
– Title (permalink to title)
– Category (permalink to category)
– Custom Taxonomy (permalink to custom taxonomy)My current shortcode is:
[netsposts filter_by_title_keywords=’keyword’ include_link_title=’true’ include_blog=’2,3′ show_categories=’true’ taxonomy_type=”customtaxonomy” taxonomy=”” paginate=’false’ meta_info=’false’ titles_only=’true’ list=’100′]Forum: Plugins
In reply to: [Network Posts Extended] Adding an Ajax FilterI am fine with the default sorting on load but was hoping order_post_by filter could be exposed to the user via dropdown or something with all options displayed. Seems like I will need to build this kind of filter myself with Javascript. Thanks