Title: johnhshepard's Replies | WordPress.org

---

# johnhshepard

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change menu text colour in theme 1039](https://wordpress.org/support/topic/how-to-change-menu-text-colour-in-theme-1039/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/how-to-change-menu-text-colour-in-theme-1039/#post-6716533)
 * Hi nitarazvan1,
 * Just glanced at your site and it looks like you figured this out. If so, would
   you mind posting your solution and marking the topic resolved?
 * If you’re still having issues, let me know and I’d love to help.
 * -John
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog media not moving to FaceBook with text](https://wordpress.org/support/topic/blog-media-not-moving-to-facebook-with-text/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/blog-media-not-moving-to-facebook-with-text/#post-6710206)
 * Hi Capt. Brigg,
 * Are you using a plugin to publish your WordPress posts to Facebook? If I can 
   recreate your setup on my end, I can test some settings to see if we can make
   it do what you what it to.
 * I also came across this article which might be helpful: [https://www.elegantthemes.com/blog/tips-tricks/how-to-post-to-facebook-from-wordpress](https://www.elegantthemes.com/blog/tips-tricks/how-to-post-to-facebook-from-wordpress)
 * I know its been a while since you posted so let me know if you’ve already solved
   it. Otherwise, I’d love to help you get it figured out.
 * Regards,
    John
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] Doubling up](https://wordpress.org/support/topic/doubling-up-1/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/doubling-up-1/#post-6057808)
 * Scroll to the bottom of “add-to-content.php” and find the following block of 
   code:
 *     ```
       function add_to_content001($content) {
       $options = get_option( 'atc_settings' );
   
       	if( ( 1 == ($options['option']['one']) ) && ( 1 == ($options['top']['check']) ) && is_single() ){
       		$content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
       	}
   
       if( ( 1 == ($options['option']['one']) ) && ( 1 == ($options['bottom']['check']) ) && is_single() ){
       		$content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
       	}
   
       	return $content;
       }
       add_filter('the_content', 'add_to_content001');
   
       function add_to_content002($content) {
       $options = get_option( 'atc_settings' );
   
       	if( ( 1 == ($options['option']['two']) ) && ( 1 == ($options['top']['check']) ) && is_page() ){
       		$content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
       	}
   
       if( ( 1 == ($options['option']['two']) ) && ( 1 == ($options['bottom']['check']) ) && is_page() ){
       		$content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
       	}
   
       	return $content;
       }
       add_filter('the_content', 'add_to_content002');
   
       function add_to_content003($content) {
       $options = get_option( 'atc_settings' );
   
       $multiCategories= $options['option']['three'];
       // move into usable array
       $multiCategoriesArray=explode(',',$multiCategories);
   
       if( in_category( $multiCategoriesArray ) && ( 1 == ($options['top']['check']) ) && is_single() && ( $options['option']['three'] != '')){
       		$content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
       	}
   
       if(  in_category( $multiCategoriesArray )  && ( 1 == ($options['bottom']['check']) ) && is_single() && ( $options['option']['three'] != '')){
       		$content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
       	}
   
       	return $content;
       }
       add_filter('the_content', 'add_to_content003');
   
       function add_to_content004($content) {
       $options = get_option( 'atc_settings' );
   
       if (!empty ($options['option']['four'] ))
       $multiCategoriesx= $options['option']['four'];
       // move into usable array
       $multiCategoriesArrayx=explode(',',$multiCategoriesx);
   
       if( ! in_category( $multiCategoriesArrayx ) && ( 1 == ($options['top']['check']) ) && is_single() && ( $options['option']['four'] != '')){
       		$content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
       	}
   
       if(  ! in_category( $multiCategoriesArrayx )  && ( 1 == ($options['bottom']['check']) ) && is_single() && ( $options['option']['four'] != '') ){
       		$content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
       	}
   
       	return $content;
       }
       add_filter('the_content', 'add_to_content004');
       ```
   
 * And replace with the following:
 *     ```
       function add_to_content001($content) {
   
           $options = get_option( 'atc_settings' );
   
           if (is_page()) {
               if (1 == ($options['option']['two'])) {
                   if ( 1 == ($options['top']['check']) ) {
                       $content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
                   }
                   if ( 1 == ($options['bottom']['check']) ) {
                       $content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
                   }
               }
           } elseif (is_single()) {
               if (1 == ($options['option']['one'])) {
   
               //look at included and excluded Categories
   
                   if (!empty($options['option']['three'])){
                       $multiCategoriesInclude= $options['option']['three'];
                       // move into usable array
                       $multiCategoriesIncludeArray=explode(',',$multiCategoriesInclude);
   
                       if (in_category($multiCategoriesIncludeArray)) {
                           if ( 1 == ($options['top']['check']) ){
                               $content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
                           }
                           if ( 1 == ($options['bottom']['check']) ){
                               $content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
                           }
                       }
                   } elseif (!empty ($options['option']['four'] )){
                       $multiCategoriesExclude= $options['option']['four'];
                       // move into usable array
                       $multiCategoriesArrayExclude=explode(',',$multiCategoriesExclude);
   
                       if (!in_category($multiCategoriesArrayExclude)) {
                           if ( 1 == ($options['top']['check']) ){
                               $content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
                           }
                           if ( 1 == ($options['bottom']['check']) ){
                               $content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
                           }
                       }
                   } else {
                       if ( 1 == ($options['top']['check']) ){
                           $content = '<div style="color:'.$options['top']['tc'].';background-color:'.$options['top']['bc'].';background-image: url('.$options['top']['upi'].');">'.$options['top']['text'].'</div>' . $content;
                       }
                       if ( 1 == ($options['bottom']['check']) ){
                           $content = $content . '<div style="color:'.$options['bottom']['tc'].';background-color:'.$options['bottom']['bc'].';background-image: url('.$options['bottom']['upi'].');">'.$options['bottom']['text'].'</div>';
                       }
                   }
               }
           }
       return $content;
       }
   
       add_filter('the_content', 'add_to_content001');
       ```
   
 * Let me know how that works for you. And be sure not to update the plugin because
   it will overwrite these changes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] Doubling up](https://wordpress.org/support/topic/doubling-up-1/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/doubling-up-1/#post-6057794)
 * The file is called “add-to-content.php” and is located in wp-content -> plugins-
   > add-to-content.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] Doubling up](https://wordpress.org/support/topic/doubling-up-1/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/doubling-up-1/#post-6057739)
 * Hi Maria,
 * There is a bug in this plugin that causes the problem you’re having. If you’re
   comfortable editing the source code of the plugin, I can send you the appropriate
   code to solve your issue (and tell you where to add it).
 * Let me know if you’d like the code or if you’d prefer to find a different plugin.
 * –John
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Profile Form – 8 Item Display Limit?](https://wordpress.org/support/topic/profile-form-8-item-display-limit/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/profile-form-8-item-display-limit/#post-5974577)
 * Hi rrr431. I don’t think I fully understand your question. Can you please provide
   a little more information?
    - A link to your site.
    - Are you using any plugins to add elements to the default profile form?
    - What theme are you using? Have you tried changing your theme to see if the
      8 item display limit is theme related?
 * Sorry for my confusion. I’ll be looking for your response.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Publish blog post to multiple WP sites..](https://wordpress.org/support/topic/publish-blog-post-to-multiple-wp-sites/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/publish-blog-post-to-multiple-wp-sites/#post-5974575)
 * A plugin is probably going to be the easiest solution. I would test [WP RSS Aggregator](https://wordpress.org/plugins/wp-rss-aggregator/)
   and [RSS Post Importer](https://wordpress.org/plugins/rss-post-importer/) and
   see which one better fits your needs. You’ll probably have to pay for the premium
   features to accomplish your goals, though.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Edit theme on online site](https://wordpress.org/support/topic/edit-theme-on-online-site/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years ago](https://wordpress.org/support/topic/edit-theme-on-online-site/#post-5973988)
 * I think a maintenance plugin would do the trick. I’ve been happy with [WP Maintenance Mode](https://wordpress.org/plugins/wp-maintenance-mode/)
   in the past, although I don’t currently use it because I don’t have the need.
   It will allow you to customize the page displayed to visitors while in maintenance
   mode, so you can continue showing your basic information.
 * Good luck with your new site!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [help with using hashtags in menu](https://wordpress.org/support/topic/help-with-using-hashtags-in-menu/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/help-with-using-hashtags-in-menu/#post-5907144)
 * Hi br0ther_bruce, welcome to WordPress.
 * It sounds like you just need to add a custom link to your menu. Check out the
   documentation [here](https://codex.wordpress.org/Appearance_Menus_Screen) (scroll
   down to “Custom Links”) regarding custom menu links. I’ve copied the relevant
   portions below.
 * **From the Codex:**
    Custom links allow links defined by you that don’t fit into
   the other types of menu items. **URL** Enter the URL of the custom link. **Label**
   Enter the label describing the custom link URL. **Add to Menu** Click this button
   to add this as a Custom item to the menu.
 * Once added to the menu, the item will display to the right with the label, the
   word Custom and a configuration arrow that can be used to change the URL or Label
   as well as Remove the custom link from the menu.
    ____ Add a menu item with the
   URL: [http://www.mysite.com.au/newstaging/#intro](http://www.mysite.com.au/newstaging/#intro)
   and a label of “Intro.” As long as you have assigned the CSS ID “intro” to the
   appropriate section, you should be good to go.
 * Does this answer your question?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] How to have Categories to Exclude?](https://wordpress.org/support/topic/how-to-have-categories-to-exclude/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-have-categories-to-exclude/#post-4864904)
 * Hi Ken. I just started using this plugin and found the same bug you mentioned.
   I’ve figured out a way to fix it if you’re still interested (and comfortable 
   editing the code). Let me know if you’re still having issues and I’ll be happy
   to help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] Content duplicated](https://wordpress.org/support/topic/content-duplicated/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/content-duplicated/#post-4953287)
 * Hi Petar. I just started using this plugin and found the same bug you mentioned.
   I’ve figured out a way to fix it if you’re still interested (and comfortable 
   editing the code). Let me know if you’re still having issues and I’ll be happy
   to help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Add To Content] add padding to content](https://wordpress.org/support/topic/add-padding-to-content/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/add-padding-to-content/#post-5240366)
 * I just started using this plugin and noticed your question. Sorry if it’s so 
   late that it doesn’t matter any more.
 * In case anyone stumbles across this in the future, the content boxes accept HTML
   so you can add padding directly into the box. For example, to add 20px to all
   sides, wrap your text (“Example Top Text” in this case) in the following HTML
   tag:
    `<p style="padding:20px;">Example Top Text</p>`
 * Hope that helps.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to recenter google calendar widget on page](https://wordpress.org/support/topic/how-to-recenter-google-calendar-widget-on-page/)
 *  [johnhshepard](https://wordpress.org/support/users/johnhshepard/)
 * (@johnhshepard)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-recenter-google-calendar-widget-on-page/#post-5772351)
 * And remove the background images from the body so the calendar appears to fit
   on the page.
 *     ```
       .page-id-27 #main{
         background: none;
       }
       .page-id-27 .gray_line{
         background: none;
       }
       ```
   

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