Title: funianrun's Replies | WordPress.org

---

# funianrun

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Lessons only showing ‘Pages Sidebar’ and not Lesson Sidebar?](https://wordpress.org/support/topic/lessons-only-showing-pages-sidebar-and-not-lesson-sidebar/)
 *  Thread Starter [funianrun](https://wordpress.org/support/users/funianrun/)
 * (@funianrun)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/lessons-only-showing-pages-sidebar-and-not-lesson-sidebar/#post-11862951)
 * Okay i figured this out.
 * I just had to go into the class ‘lifterlms/includes/class.llms.sidebars.php’ 
   and edit the default in the function ‘get_theme_default_sidebar”s switch statement
   to this:
 * [https://gyazo.com/a953d10bd4614f945b90790b4c132684](https://gyazo.com/a953d10bd4614f945b90790b4c132684)
 * ‘default:
    $id = ‘sidebar-1′;’
 * I also double checked my theme is using sidebar-1 and not some other name
    -  This reply was modified 6 years, 9 months ago by [funianrun](https://wordpress.org/support/users/funianrun/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Using ACF fields in the site description](https://wordpress.org/support/topic/using-acf-fields-in-the-site-description/)
 *  [funianrun](https://wordpress.org/support/users/funianrun/)
 * (@funianrun)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/using-acf-fields-in-the-site-description/#post-11020345)
 * [@algerpixel](https://wordpress.org/support/users/algerpixel/)
    I actually kinda
   figured it out after i wrote this, but for seo title tag only. Here is what I
   did:
 * Turned on yoast SEo plugin. Then used this code:
 *     ```
       add_filter('wpseo_title', 'filter_product_wpseo_title');
       function filter_product_wpseo_title($title) {
           if(  is_singular( 'my_post_type') ) {	
               $title = get_field("title_tag");
               $title = $title . " | " . get_bloginfo("name");
           }
           return $title;
       }
       ```
   
    -  This reply was modified 7 years, 5 months ago by [funianrun](https://wordpress.org/support/users/funianrun/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Using ACF fields in the site description](https://wordpress.org/support/topic/using-acf-fields-in-the-site-description/)
 *  [funianrun](https://wordpress.org/support/users/funianrun/)
 * (@funianrun)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/using-acf-fields-in-the-site-description/#post-11020321)
 * Did you ever find the answer to this? I’m also very stuck trying to do this. 
   I don’t understand how to get a pages variables and meta data into the filter
   function in functions.php
    -  This reply was modified 7 years, 5 months ago by [funianrun](https://wordpress.org/support/users/funianrun/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Hubbub Lite - Fast, free social sharing and follow buttons] Exclude some pages](https://wordpress.org/support/topic/exclude-some-pages-4/)
 *  [funianrun](https://wordpress.org/support/users/funianrun/)
 * (@funianrun)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/exclude-some-pages-4/#post-9291672)
 * Hi !
    Thanks for this cool code [@webdevmattcrom](https://wordpress.org/support/users/webdevmattcrom/),
   I just have a question.
 * Did you put this code in the index.php file ? I’m getting this error
    `call_user_func_array()
   expects parameter 1 to be a valid callback, function 'dbtours_cond_remove_socpug'
   not found or invalid function name`
 * I included the following line in the index.php constructor:
    `add_filter( 'dpsp_output_front_end_content','
   dbtours_cond_remove_socpug');`
 * then I put the following code among the other functions. Any idea what could 
   cause this error ? I’m trying to make it so only my home page has these buttons
 *     ```
       function dbtours_cond_remove_socpug( $output ) { 
           		if ( !is_home() ) {
              	 		$output = '';
           		}   
           		return $output;
       	}
       ```
   
    -  This reply was modified 8 years, 11 months ago by [funianrun](https://wordpress.org/support/users/funianrun/).

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