dhsllc
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] CPTs not related to authorsHi Michael, the problem I’m troubleshooting is about authors accessing their CPTs so they can edit their entries.
Right now authors fill out a Gravity Form which populates a CPT post where admins are designated as the authors. At the same time, the authors are setup as subscribers. Once admins review the post and approve, we assign the artist as the authors and approve/publish the posts for public viewing.
The expectation is for artists to be able to login and edit their post if they wanted to. However, when they log in, there are no posts. When we view the CPT list, we see the authors name. When we look at the author users/roles, it show 0 posts under their name.
If we move the post from artists CPT to a regular blog posts then the post appears under their user/role and when they login they see the post and can edit then. But, we don’t want to move the ‘artists’ CPT to be a regular blog post. Make sense?
I’ll be glad to share the site link or set you up with access if it helps. I’ve tried a few more things but I just can’t get this to work. I could definitely use some help. Thank you.
I’m using Elegant Themes, theme Extra and created the child theme with Child Theme Configurator by Lilaea Media which added the functions.php file under the child theme.
I’ve added other custom code on there which is working. What else could be conflicting?
Hi, I reviewed and integrated the code in these 2 posts:
https://docs.pluginize.com/article/23-post-type-posts-in-search-results
https://docs.pluginize.com/article/17-post-types-in-category-tag-archivesBut I have not been successful in getting the CPTs to appear in searches or categories.
This is the code I added to the functions.php file following the instructions provided:
// To display CPTUI posts in archives function my_cptui_add_post_types_to_archives( $query ) { // We do not want unintended consequences. if ( is_admin() || ! $query->is_main_query() ) { return; } if ( is_category() && empty( $query->query_vars['suppress_filters'] ) ) { // Replace these slugs with the post types you want to include. $cptui_post_types = array( '2018_artists' ); $query->set( 'post_type', array_merge( array( 'post' ), $cptui_post_types ) ); } } add_filter( 'pre_get_posts', 'my_cptui_add_post_types_to_archives' ); // To display CPTUI posts in search function my_cptui_add_post_type_to_search( $query ) { if ( $query->is_search() ) { // Replace these slugs with the post types you want to include. $cptui_post_types = array( '2018_artists' ); $query->set( 'post_type', array_merge( array( 'post' ), $cptui_post_types ) ); } } add_filter( 'pre_get_posts', 'my_cptui_add_post_type_to_search' );
Searches and categories return: SORRY, NO POSTS FOUND
Any idea what the problem might be?
Forum: Plugins
In reply to: [Custom Post Type UI] Adding excerpt and theme attributes to CPTSenior moment, looked right past that. Thank you!
After further research it was a setting on the theme side. This has been resolved.
Forum: Plugins
In reply to: [Sidebar Login] Login Error BehaviorI figured out the login problem, we are using bp_custom.php which had code that conflicted with the plugin, once removed the plugin did put out an error:
ERROR: Invalid username. Lost your password?
The problem with this error is that we are using a custom “lost password” page.
Where can I update this message and URL?
Forum: Reviews
In reply to: [Infusionsoft Gravity Forms Add-on] Can’t create a feedThis plugin doesn’t work. Removed and replaced with Mailmunch, which was a quick, easy working solution
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] 3rd party forms: InfusionsoftNo problem. Thanks so much for the quick response.
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Links and Videos Not PostingHi Bojan, the article images pull out fine. It’s the image upload via the plugin that do not appear correctly. Check this out
Cynthia
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Links and Videos Not PostingForum: Plugins
In reply to: [BuddyPress Activity Plus] Links and Videos Not PostingHi there, Bojan you are awesome.
The dev environment is here: https://dev2.kiringie.me/.
You can create a test account by clicking on the top right plus sign.
I am adding the CSS code under > appearance > customize > custom > CSS
Thanks for your help.
Cynthia
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Links and Videos Not PostingHi Troy, in the “buddypress activity plus” settings, I too have it at 450 px.
I cleared cache and even checked in a new browser but the thumbnail still shows up.
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Links and Videos Not PostingBojan, thank you so much that solve the problem. The videos and images are now showing.
I too am seeing the issue Troy reported with the stream showing a thumbnail for the image vs the big image and the video shows wide and narrow.
I tried adding the code you provided to Troy but it didn’t work for me.
Thanks in advance for your help.
Cynthia
Forum: Plugins
In reply to: BuddyPress: Multiple Profiles for Single LoginDoes anybody have any insights on this? Maybe questions to help clarify the ask? Help is very much appreciated.