SEO for Breadcrumbs – Microdata
Quote from Yworld on January 25, 2017, 2:55 pmHello Thomas
I propose to improve SEO. Link to google
In file forum.php find: Link
in styles:
#af-wrapper .vocabulary { float: left; font-size: 11px; padding: 0; margin: 0; /* comp */ color: #666; }Very good for search engine optimization 🙂
Hello Thomas
I propose to improve SEO. Link to google
In file forum.php find: Link
in styles:
#af-wrapper .vocabulary { float: left; font-size: 11px; padding: 0; margin: 0; /* comp */ color: #666; }
Very good for search engine optimization 🙂
Quote from Asgaros on January 25, 2017, 7:35 pmHello Yworld,
do you have some further ressources/links for this? I cant find the part in your linked website where the HTML-changes you made are described. I want to have a closer look for a better understanding inside it first. 🙂
Hello Yworld,
do you have some further ressources/links for this? I cant find the part in your linked website where the HTML-changes you made are described. I want to have a closer look for a better understanding inside it first. 🙂
Quote from Yworld on January 25, 2017, 8:11 pm
<div id="top-container"><div id="breadcrumbs"><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-admin-home"></span><a href="https://asgarosforum.ru/forum/" itemprop="url"><span itemprop="title">Форум</span></a></div><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><a href="https://asgarosforum.ru/forum/?view=forum&id=2" itemprop="url"><span itemprop="title">Настройки Asgaros Forum</span></a></div><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><a href="https://asgarosforum.ru/forum/?view=thread&id=70" title="Добавляем микроразметку хлебных крошек" itemprop="url"><span itemprop="title">Добавляем микроразметку хлебных к …</span></a></div></div>Checking Google https://search.google.com/structured-data/testing-tool
We get:
- Just link
- link title, SEO for Breadcrumbs – Microdata
<div id="top-container"><div id="breadcrumbs"><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-admin-home"></span><a href="https://asgarosforum.ru/forum/" itemprop="url"><span itemprop="title">Форум</span></a></div><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><a href="https://asgarosforum.ru/forum/?view=forum&id=2" itemprop="url"><span itemprop="title">Настройки Asgaros Forum</span></a></div><div class="vocabulary" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><a href="https://asgarosforum.ru/forum/?view=thread&id=70" title="Добавляем микроразметку хлебных крошек" itemprop="url"><span itemprop="title">Добавляем микроразметку хлебных к …</span></a></div></div>
Checking Google https://search.google.com/structured-data/testing-tool
We get:
- Just link
- link title, SEO for Breadcrumbs – Microdata
Quote from Yworld on January 26, 2017, 12:40 pmI made as a in the plugin Breadcrumb NavXT https://wordpress.org/plugins/breadcrumb-navxt/
Within an hour, I’ll write
I made as a in the plugin Breadcrumb NavXT https://wordpress.org/plugins/breadcrumb-navxt/
Within an hour, I’ll write
Quote from Yworld on January 26, 2017, 1:26 pmJust as in the popular plugin Breadcrumb NavXT 🙂
function breadcrumbs() { echo '<div id="top-container">'; echo '<div id="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">'; echo '<span class="dashicons-before dashicons-admin-home"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('home').'"><span property="name">'.__('Forum', 'asgaros-forum').'</span></a><meta property="position" content="1"></span>'; $trail = ''; if ($this->parent_forum && $this->parent_forum > 0) { echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('forum', $this->parent_forum).'"><span property="name">'.esc_html(stripslashes($this->get_name($this->parent_forum, $this->tables->forums))).'</span></a><meta property="position" content="2"></span>'; } if ($this->current_forum) { echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('forum', $this->current_forum).'"><span property="name">'.esc_html(stripslashes($this->get_name($this->current_forum, $this->tables->forums))).'</span></a><meta property="position" content="2"></span>'; } if ($this->current_topic) { $name = stripslashes($this->get_name($this->current_topic, $this->tables->topics)); echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('topic', $this->current_topic).'" title="'.esc_html($name).'"><span property="name">'.esc_html($this->cut_string($name)).'</span></a><meta property="position" content="3"></span>'; }check https://search.google.com/structured-data/testing-tool:
We are looking in a page code(https://asgarosforum.ru/forum/?view=thread&id=70) breadcrumbs:
<div id="af-wrapper"><div id="top-container"><div id="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"><span class="dashicons-before dashicons-admin-home"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/"><span property="name">Форум</span></a><meta property="position" content="1"></span><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/?view=forum&id=2"><span property="name">Настройки Asgaros Forum</span></a><meta property="position" content="2"></span><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/?view=thread&id=70" title="Добавляем микроразметку хлебных крошек"><span property="name">Добавляем микроразметку хлебных к …</span></a><meta property="position" content="3"></span></div>result:
Now everything is in order 🙂
We improve SEO
Just as in the popular plugin Breadcrumb NavXT 🙂
function breadcrumbs() { echo '<div id="top-container">'; echo '<div id="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">'; echo '<span class="dashicons-before dashicons-admin-home"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('home').'"><span property="name">'.__('Forum', 'asgaros-forum').'</span></a><meta property="position" content="1"></span>'; $trail = ''; if ($this->parent_forum && $this->parent_forum > 0) { echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('forum', $this->parent_forum).'"><span property="name">'.esc_html(stripslashes($this->get_name($this->parent_forum, $this->tables->forums))).'</span></a><meta property="position" content="2"></span>'; } if ($this->current_forum) { echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('forum', $this->current_forum).'"><span property="name">'.esc_html(stripslashes($this->get_name($this->current_forum, $this->tables->forums))).'</span></a><meta property="position" content="2"></span>'; } if ($this->current_topic) { $name = stripslashes($this->get_name($this->current_topic, $this->tables->topics)); echo '<span class="dashicons-before dashicons-arrow-right-alt2 separator"></span>'; echo '<span property="itemListElement" typeof="ListItem">'; echo '<a property="item" typeof="WebPage" href="'.$this->getLink('topic', $this->current_topic).'" title="'.esc_html($name).'"><span property="name">'.esc_html($this->cut_string($name)).'</span></a><meta property="position" content="3"></span>'; }
check https://search.google.com/structured-data/testing-tool:
We are looking in a page code(https://asgarosforum.ru/forum/?view=thread&id=70) breadcrumbs:
<div id="af-wrapper"><div id="top-container"><div id="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"><span class="dashicons-before dashicons-admin-home"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/"><span property="name">Форум</span></a><meta property="position" content="1"></span><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/?view=forum&id=2"><span property="name">Настройки Asgaros Forum</span></a><meta property="position" content="2"></span><span class="dashicons-before dashicons-arrow-right-alt2 separator"></span><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" href="https://asgarosforum.ru/forum/?view=thread&id=70" title="Добавляем микроразметку хлебных крошек"><span property="name">Добавляем микроразметку хлебных к …</span></a><meta property="position" content="3"></span></div>
result:
Now everything is in order 🙂
We improve SEO
Uploaded files:Quote from Asgaros on January 27, 2017, 3:56 pmThank you for the information, Yworld. I will check it out and think about to implement it. 🙂
Thank you for the information, Yworld. I will check it out and think about to implement it. 🙂
Quote from Asgaros on January 29, 2017, 9:28 pmJust for your information: I will ship this with the next bigger v1.4 update. It is possible that there will be some bugfix release before so dont wonder when it is not included there. 🙂
Just for your information: I will ship this with the next bigger v1.4 update. It is possible that there will be some bugfix release before so dont wonder when it is not included there. 🙂
Quote from Asgaros on February 4, 2017, 6:30 pmHello Yworld,
I just added those changes to the development-version. Could you please have a look at it because the testing-tool doesnt show me the URLs.
Hello Yworld,
I just added those changes to the development-version. Could you please have a look at it because the testing-tool doesnt show me the URLs.