wrong title in google + (to developer)

Posted in: Newspaper
Post count: 24

i have corrected a bug in 6.6.2 so maybe its interesting for you
by sharing in google + i had wrong title.
the bug was in the more articles section, google got the title from one of this titles,
so i have added this
<?php echo $this->get_item_scope();?>
to
Newspaper\includes\modules\td_module_related_posts.php

like this

<?php

class td_module_related_posts extends td_module {

    function __construct($post) {
        //run the parrent constructor
        parent::__construct($post);
    }

    function render() {
        ob_start();
        ?>

        <div class="<?php echo $this->get_module_classes(array("td_mod_related_posts")); ?>" <?php echo $this->get_item_scope();?>>
            <div class="td-module-image">
                <?php echo $this->get_image('td_218x150');?>
                <?php if (td_util::get_option('tds_category_module_related_posts') == 'yes') { echo $this->get_category(); }?>
            </div>
            <div class="item-details">
                <?php echo $this->get_title();?>
            </div>
        </div>
        <?php return ob_get_clean();
    }
}
  • This topic was modified 10 years by boruxk.
  • This topic was modified 10 years by boruxk.
Post count: 6535

Hi

Thanks for letting us know about this. However in V 7.0.1 which is available on themeforest the sharing for google+ works fine: http://screencast.com/t/VSJ5pAc0
I will forward this to theme’s developers and they will inspect it to check if there is something wrong with the code.

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.