Plugin Directory

Changeset 2588761


Ignore:
Timestamp:
08/25/2021 06:19:27 PM (5 years ago)
Author:
crisworth
Message:

Feature update

Location:
mondoplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mondoplayer/trunk/includes/class_mondoplayer_categories.php

    r2587970 r2588761  
    906906    <tr><td class='label_column' style='border: 0'>Category Vlog Roll</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_blog_url'><a href='<?php echo $category_url ?>' target="_blank"><?php echo $category_url ?></a></div><p>Use this link on your site to link to the Category Vlog Roll or add this Category to your menus in <a href='<?php echo $menu_url ?>'>Appearance &gt; Menus</a></p></div></td></tr>
    907907    <tr><td class='label_column' style='border: 0'>Category RSS Feed</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>' target="_blank"><?php echo $feed_url ?></a></div><p>Use this RSS Feed to automatically post to your social media management tools (e.g. Hootsuite).</p><span id='autopilot_category_message'></span></div></td></tr>
    908     <tr><td class='label_column' style='border: 0'>Category RSS Feed with Hashtags in Description</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>?hashtags_description' target="_blank"><?php echo $feed_url ?>?hashtags_description</a></div><p>Use this RSS Feed to automatically post to your social media management tools for services like Pinterest.</p><span id='autopilot_hashtag_message'></span></div></td></tr>
     908    <tr><td class='label_column' style='border: 0'>Category RSS Feed with Hashtags in Description</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>?hashtags_with_description' target="_blank"><?php echo $feed_url ?>?hashtags_description</a></div><p>Use this RSS Feed to automatically post to your social media management tools for services like Pinterest.</p><span id='autopilot_hashtag_message'></span></div></td></tr>
    909909    <tr><td class='label_column' style='border: 0'>Category RSS Feed with Hashtags</td><td class='content_column' style='border: 0;vertical-align: middle'><div class='category_description'><div style='display: inline-block;' id='category_rss_feed'><a href='<?php echo $feed_url ?>?hashtags' target="_blank"><?php echo $feed_url ?>?hashtags</a></div><p>Use this RSS Feed to automatically post to your social media management tools for services like Twitter.</p><span id='autopilot_hashtag_message'></span></div></td></tr>
    910910
  • mondoplayer/trunk/mondoplayer.php

    r2587970 r2588761  
    55    Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video.
    66    Author: MondoTag
    7     Version: 1.0.320
     7    Version: 1.0.321
    88    Tested up to: 5.7.2
    99    License: GPLv2 or later
     
    388388    function filter_excerpt_rss($excerpt) {
    389389        #error_log("Filtering title: $title");
    390         if (isset($_GET['hashtags_description'])) {
     390        if (isset($_GET['hashtags_with_description'])) {
    391391            global $post;
    392392            $hashtags = get_post_meta($post->ID, 'mondoplayer_hashtags', true);
     393            $end_string = "\n\n" . get_post_permalink($post->ID);
    393394            #error_log("hashtags: $hashtags");
    394395            if (! empty($hashtags)) {
    395                 return $excerpt . "\n" . $hashtags;
    396             }
     396                $end_string .= "\n\n" . $hashtags;
     397            }
     398            return substr($excerpt, 0, 500 - strlen($end_string)) . $end_string;
    397399        }
    398400        return $excerpt;
Note: See TracChangeset for help on using the changeset viewer.