1. Onepage
  2. Saturday, 15 August 2020
Using Onepage, not sure if this is a template issue or a PageBuilder issue. Haven't seen this until now
I have a bunch of code showing up at the top of the articles


//get image $article_attribs = json_decode($this->item->attribs); $article_images = json_decode($this->item->images); $article_image = ''; if(isset($article_attribs->spfeatured_image) && $article_attribs->spfeatured_image != '') { $article_image = $article_attribs->spfeatured_image; } elseif(isset($article_images->image_fulltext) && !empty($article_images->image_fulltext)) { $article_image = $article_images->image_fulltext; } //opengraph $document = JFactory::getDocument(); $document->setTitle($this->item->title); $document->addCustomTag(''); $document->addCustomTag(''); $document->setDescription( JHtml::_('string.truncate', $this->item->introtext, 155, false, false ) ); $document->addCustomTag(''); $document->addCustomTag(''); if ($article_image) { $document->addCustomTag(''); $document->addCustomTag(''); $document->addCustomTag(''); } $post_format = $params->get('post_format', 'standard'); $has_post_format = $tpl_params->get('show_post_format'); if($this->print) $has_post_format = false;


Pagebuilder is 3.7.4 , Running Joomla 3.9.20 and the template version is the latest at 2.7
Link to an article to see the while this here is one for example
https://ghfd5.org/index.php/blog-wrapper/press-release-list/142-2020-grays-harbor-county-burn-ban-to-begin-sunday-july-26th
Attachments (1)
Responses (2)
Through testing, changing template it goes away, so this is template specific any thoughts?
  1. more than a month ago
  2. Onepage
  3. # 1
Nevermind, can delete this or close it - it was code that for some reason stopped working that added open graph for sharing to Social media.
  1. more than a month ago
  2. Onepage
  3. # 2


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.