End of Support for Joomla 3 - Forum closed

[SOLVED] shortcode showcase und googlebot

shortcode showcase und googlebot was created by karin_gayer@chello.at

Posted 3 years 2 months ago #28254
Hallo Support-Team
Ich verwende das Template brush und showcase (mit Anzeige inline). Der Googlebot findet aber nicht die geschriebenen Artikeln, sondern nur den Titel und die Kategorie.
Denke, dass liegt an shortcode.php
<div class="cbp-l-caption-title">'. $title .'</div>
<div class="cbp-l-caption-desc">'.$slide.'</div>

Wie kann ich Google auch die Artikeln zum Einlesen zur Verfügung stellen, da auch der href bei einer OnPage nicht auf eine andere Seite führt?
Bsp. href="/index.php/13-litter-articles/72-litter-001x" data-url="/index.php/component/bdthemes_shortcodes/?view=item&amp;layout=inline" class="cbp-caption cbp-singlePageInline" ... aus <div class="cbp-item-wrapper">

Danke und liebe Grüße
Martin

Please Log in or Create an account to join the conversation.

Replied by karin_gayer@chello.at on topic shortcode showcase und googlebot

Posted 3 years 2 months ago #28255
Ich habe jetzt folgendes in der Datei shortcode.php (plugins/system/bdthemes_shortcodes/shortcodes/showcase/) ab Zeile 210

// Start code Martin Gayer
$db = JFactory::getDBO();
$sql = "SELECT introtext FROM #__content WHERE id = ".intval($slide);
$db->setQuery($sql);
$fullArticle = strip_tags($db->loadResult(), "<p>");
if(!strlen(trim($fullArticle)))
$fullArticle = "Error! Article is empty ";
// End code Martin Gayer

ergänzt.

Zusätzlich <div class="cbp-l-caption-desc">'.$fullArticle .'</div> geändert (von <div class="cbp-l-caption-desc">'.$slide.'</div>)

Ist dies der richtige Ansatz? Wenn Ja, wo wäre dann das Verzeichnis für einen template override dieses plugins?

Please Log in or Create an account to join the conversation.

Replied by karin_gayer@chello.at on topic shortcode showcase und googlebot

Posted 3 years 2 months ago #28256
Template override ist unter
templates/jp-brush/html/plg_bdthemes_shortcodes/shortcodes/showcase/

Beide Dateien (config.php, shortcode.php) sind zu kopieren. Siehe auch bdthemes.com/support/knowledge/details/2...code%20Ultimate.html
The following user(s) said Thank You: joomlaplates

Please Log in or Create an account to join the conversation.

Replied by karin_gayer@chello.at on topic [SOLVED] shortcode showcase und googlebot

Posted 3 years 2 months ago #28257
Problem solved.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License