Title: learncomputer's Replies | WordPress.org

---

# learncomputer

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SI CAPTCHA Anti-Spam] This is not working, spam bots are still registering](https://wordpress.org/support/topic/this-is-not-working-spam-bots-are-still-registering/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/this-is-not-working-spam-bots-are-still-registering/#post-4060618)
 * Same issue. After upgrading to 2.7.7.1 SPAM registrations became rampant. Any
   solutions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)] Settings are blank](https://wordpress.org/support/topic/settings-are-blank/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/settings-are-blank/#post-3560482)
 * Same problem here after updating to 4.3.2. Admin settings page is blank. Looks
   like the page rendering stops at the HTML below (as if there’s an `exit()` or`
   die()` call somewhere):
 *     ```
       <input type="hidden" name="plugin" value="google-analytics-for-wordpress"/>
       <input type="hidden" id="_wpnonce" name="_wpnonce" value="1b13183574" />
       <input type="hidden" name="_wp_http_referer" value="/wp-admin/options-general.php?page=google-analytics-for-wordpress" />
       ```
   
 * Also, while we’re at it, I noticed another error in the logs for this plugin.
   Looks like an image is missing:
 *     ```
       File does not exist: /wp-content/plugins/google-analytics-for-wordpress/images/ga-icon-32x32.png
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Theme my login broke on WP 3.5](https://wordpress.org/support/topic/theme-my-login-broke-on-wp-35/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/theme-my-login-broke-on-wp-35/#post-3269773)
 * Changing the shortcode from [theme-my-login-page] to [theme-my-login] worked 
   for me as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Plugin does not work with WordPress v3.5](https://wordpress.org/support/topic/plugin-does-not-work-with-wordpress-v35-2/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-wordpress-v35-2/#post-3266013)
 * I second that. The shortcodes on the login/register pages no longer render. They
   just show up as [theme-my-login-page].
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Only Display Immediate Children](https://wordpress.org/support/topic/only-display-immediate-children/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/only-display-immediate-children/#post-1922355)
 * This will give you the list of immediate children of a given page.
 *     ```
       $children = get_pages(array(
       	'child_of' => $your_page_ID,
       	'parent' => $your_page_ID,
       	'sort_order' => 'ASC',
       	'sort_column' => 'menu_order'
       ));
       ```
   
 * Also see [http://codex.wordpress.org/Template_Tags/wp_list_pages#List_parent_Page_and_all_descendant_Pages](http://codex.wordpress.org/Template_Tags/wp_list_pages#List_parent_Page_and_all_descendant_Pages)
   for additional examples.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137617)
 * Try one of these:
 * [http://www.megaupload.com/?d=1SU7EDTX](http://www.megaupload.com/?d=1SU7EDTX)
   
   [http://www.sendspace.com/file/0q3g1s](http://www.sendspace.com/file/0q3g1s)
 * Good luck!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137611)
 * where would you like the file sent?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137608)
 * I assure you it works! Just make sure you fully replace the original code with
   mine in both places (I can send you the entire two functions – `nested_loop` 
   and `display_nested` if you tell me where to).
 * The `sprintf('%1$s<%2$s itemprop="child" itemscope itemtype="http://data-vocabulary.
   org/Breadcrumb">%3$s%4$s</%2$s>', $this->opt['separator'], $tag, $breadcrumb-
   >assemble($linked), $this->nested_loop($linked, $tag, $mode));` statement inside`
   display_nested` function is the one causing the repeat of the first item (which
   is also added inside the `nested_loop` function). Once you remove it, the duplicate
   will be gone.
 * The only problem is you will have an extra separator at the front of your breadcrumb,
   which is removed by my code in `nested_loop`.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137609)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137606)
 * > the only problem is “Home” displayed twice in the trailer and that’s annoying
 * [@n-for-all](https://wordpress.org/support/users/n-for-all/), my solution IS 
   about removing the extra “Home” link. I thought that’s why you started this thread
   to begin with. 🙂
 * There is one other bit there about removing the `itemprop="child"` from the first
   span, but that’s minor.
 * You can see my version here: [http://www.learncomputer.com/](http://www.learncomputer.com).
 * [@mtekk](https://wordpress.org/support/users/mtekk/), I totally hear you. I doubt
   too many people are actually using the `bcn_display_nested`. I just came across
   it because I found it in your changelog and wanted to try it. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137603)
 * Here is my solution. I really hated modifying the original code but for what’s
   it’s worth, it now works correctly.
 * 1. Open breadcrumb_navxt_class.php for editing.
    2. In function `display_nested`
   replace this block:
 *     ```
       if($mode === 'rdfa')
       {
       	//Start up the recursive engine
       	$trail_str = sprintf('<%1$s typeof="v:Breadcrumb">%2$s %3$s</%1$s>', $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       else
       {
       	//Start up the recursive engine
       	$trail_str = sprintf('%2$s %3$s', $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       ```
   
 * with this one:
 *     ```
       //Start up the recursive engine
       $trail_str = $this->nested_loop($linked, $tag, $mode);
       ```
   
 * 3. In function `nested_loop` replace this block:
 *     ```
       if($mode === 'rdfa')
       {
       	return sprintf('%1$s<%2$s rel="v:child"><%2$s typeof="v:Breadcrumb">%3$s%4$s</%2$s></%2$s>', $this->opt['separator'], $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       else
       {
       	return sprintf('%1$s<%2$s itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">%3$s%4$s</%2$s>', $this->opt['separator'], $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       ```
   
 * with this one:
 *     ```
       $separator = '';
       $rel = '';
       if ($key !== count($this->trail) - 1)
       {
       	$separator = $this->opt['separator'];
       	$rel = ($mode === 'rdfa') ? 'rel="v:child"' : 'itemprop="child"';
       }
       if($mode === 'rdfa')
       {
       	return sprintf('%1$s<%2$s ' . $rel . '><%2$s typeof="v:Breadcrumb">%3$s%4$s</%2$s></%2$s>', $separator, $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       else
       {
       	return sprintf('%1$s<%2$s ' . $rel . ' itemscope itemtype="http://data-vocabulary.org/Breadcrumb">%3$s%4$s</%2$s>', $separator, $tag, $breadcrumb->assemble($linked), $this->nested_loop($linked, $tag, $mode));
       }
       ```
   
 * Hope this helps! I don’t claim this to be the “proper” fix, but it does the job
   until mtekk comes up with a permanent solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] display Microdata and rdfa (rich snippets)](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/)
 *  [learncomputer](https://wordpress.org/support/users/learncomputer/)
 * (@learncomputer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-breadcrumb-navxt-display-microdata-and-rdfa-rich-snippets/#post-2137602)
 * Same problem here. The `display_nested` function can be tweaked a bit to get 
   it to work according to the Google spec, but the “displayed-twice” problem is
   difficult to troubleshoot in the code and is a showstopper for me.
 * Everyone is trying to use the microdata/rdfa format these days to allow Google
   to properly recognize the site breadcrumbs and display as such on the search 
   results. It would be unwise to ignore it in your upcoming version.
 * I’ll spend another hour or so trying to troubleshoot this issue, but if I can’t
   fix it, will try Yoast Breadcrumbs. That plugin seems to handle the microdata
   decorations properly.

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