Title: dhsllc's Replies | WordPress.org

---

# dhsllc

  [  ](https://wordpress.org/support/users/dhsllc/)

 *   [Profile](https://wordpress.org/support/users/dhsllc/)
 *   [Topics Started](https://wordpress.org/support/users/dhsllc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dhsllc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dhsllc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dhsllc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dhsllc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dhsllc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] CPTs not related to authors](https://wordpress.org/support/topic/cpts-not-related-to-authors/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/cpts-not-related-to-authors/#post-10943989)
 * Hi 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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] How to add custom posts to Categories, Archives and Search](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/)
 *  [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/#post-9840299)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] How to add custom posts to Categories, Archives and Search](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/)
 *  [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/#post-9830401)
 * 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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] How to add custom posts to Categories, Archives and Search](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/)
 *  [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-custom-posts-to-categories-archives-and-search/#post-9828946)
 * Hi, I reviewed and integrated the code in these 2 posts:
 * [http://docs.pluginize.com/article/23-post-type-posts-in-search-results](http://docs.pluginize.com/article/23-post-type-posts-in-search-results)
   
   [http://docs.pluginize.com/article/17-post-types-in-category-tag-archives](http://docs.pluginize.com/article/17-post-types-in-category-tag-archives)
 * But 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Adding excerpt and theme attributes to CPT](https://wordpress.org/support/topic/adding-excerpt-and-theme-attributes-to-cpt/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-excerpt-and-theme-attributes-to-cpt/#post-9764303)
 * Senior moment, looked right past that. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager] Sidebar Location Error](https://wordpress.org/support/topic/sidebar-location-error/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/sidebar-location-error/#post-9721499)
 * After further research it was a setting on the theme side. This has been resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Sidebar Login] Login Error Behavior](https://wordpress.org/support/topic/login-error-behavior/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/login-error-behavior/#post-9444177)
 * I 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](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Infusionsoft Gravity Forms Add-on] Can’t create a feed](https://wordpress.org/support/topic/cant-create-a-feed/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/cant-create-a-feed/#post-8820675)
 * This plugin doesn’t work. Removed and replaced with Mailmunch, which was a quick,
   easy working solution
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPBruiser {no- Captcha anti-Spam}] 3rd party forms: Infusionsoft](https://wordpress.org/support/topic/3rd-party-forms-infusionsoft/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/3rd-party-forms-infusionsoft/#post-8809877)
 * No problem. Thanks so much for the quick response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Activity Plus] Links and Videos Not Posting](https://wordpress.org/support/topic/links-and-videos-not-posting/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/links-and-videos-not-posting/page/2/#post-7146433)
 * Hi Bojan, the article images pull out fine. It’s the image upload via the plugin
   that do not appear correctly. [Check this out](https://www.dropbox.com/s/me83rgza3qg1o3k/Screenshot%202016-03-17%2008.10.52.png?dl=0)
 * Cynthia
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Activity Plus] Links and Videos Not Posting](https://wordpress.org/support/topic/links-and-videos-not-posting/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/links-and-videos-not-posting/page/2/#post-7146429)
 * [@bojan](https://wordpress.org/support/users/bojan/) you’re account has been 
   approved. Sorry about that.
 * [@tmh23](https://wordpress.org/support/users/tmh23/) I am using Theme X. I love
   it. Seems to be compatible with most plugins and BuddyPress.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Activity Plus] Links and Videos Not Posting](https://wordpress.org/support/topic/links-and-videos-not-posting/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/links-and-videos-not-posting/#post-7146421)
 * Hi there, Bojan you are awesome.
 * The dev environment is here: [http://dev2.kiringie.me/](http://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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Activity Plus] Links and Videos Not Posting](https://wordpress.org/support/topic/links-and-videos-not-posting/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/links-and-videos-not-posting/#post-7146396)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Activity Plus] Links and Videos Not Posting](https://wordpress.org/support/topic/links-and-videos-not-posting/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/links-and-videos-not-posting/#post-7146392)
 * Bojan, 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [BuddyPress: Multiple Profiles for Single Login](https://wordpress.org/support/topic/buddypress-multiple-profiles-for-single-login/)
 *  Thread Starter [dhsllc](https://wordpress.org/support/users/dhsllc/)
 * (@dhsllc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/buddypress-multiple-profiles-for-single-login/#post-7098859)
 * Does anybody have any insights on this? Maybe questions to help clarify the ask?
   Help is very much appreciated.

Viewing 15 replies - 1 through 15 (of 15 total)