New Landing How can we help? Themeforest Theme Support Dante Archive and RSS Feed Problem

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #304878
    3lias
    Member
    Post count: 128

    Hi.

    Some background, we organize our blog post into two category’s: News and Blog (as well all post go into a “All” category). Every category (News and Blog) have their own URL https://www.froglogic.com/blog/ and https://www.froglogic.com/news/.

    The code on that sites is similar only the category changes. Example for News:

    [blog show_blog_aux="yes" blog_type="mini" masonry_effect_type="no-effect" item_count="20" category="News" offset="0" posts_order="DESC" show_title="yes" show_excerpt="yes" show_details="yes" excerpt_length="150" content_output="excerpt" show_read_more="yes" pagination="load-more" width="1/1" el_position="first last"]

    As the “show_blog_aux” is shown one can look into Archives or open the RSS Feed.

    1. The Archives go only back to December 2015 even we have articles way back to 2003 (https://www.froglogic.com/2003/) How can this be fixed?

    2. The RSS link for each category doesn’t work. Example: https://www.froglogic.com/blog/?feed=rss2 But, if I go to https://www.froglogic.com/feed/ there is a feed for all entries. How can this be fixed or at least point the RSS link (button) to the working feed?

    #305171
    David Martin – Support
    Moderator
    Post count: 20834

    1) Please install and activate the supplied child theme, inside the child theme functions.php file paste this:

    	if (!function_exists('sf_blog_aux')) {
    		function sf_blog_aux($width) {
    			
    			$blog_aux_output = "";
    			$options = get_option('sf_dante_options');
    			$filter_wrap_bg = $options['filter_wrap_bg'];
    			$rss_feed_url = $options['rss_feed_url'];
    			
    			 		
    			$category_list = wp_list_categories('sort_column=name&title_li=&depth=-1&number=60&echo=0&show_count=1');
    			$archive_list =  wp_get_archives('type=monthly&limit=36&echo=0');
    			$tags_list = wp_tag_cloud('smallest=12&largest=12&unit=px&format=list&number=60&orderby=name&echo=0');
    			
    			$blog_aux_output .= '<div class="blog-aux-wrap row">'; // open .blog-aux-wrap
    			$blog_aux_output .= '<ul class="blog-aux-options bar-styling '.$width.'">'; // open .blog-aux-options
    			
    			// CATEGORIES
    			$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="categories"><i class="ss-index"></i>'.__("Categories", "swiftframework").'</a>';
    			
    			// TAGS
    			$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="tags"><i class="ss-tag"></i>'.__("Tags", "swiftframework").'</a>';
    			
    			// SEARCH FORM
    			$blog_aux_output .= '<li class="search"><form method="get" class="search-form" action="'. home_url().'/">';
    			$blog_aux_output .= '<input type="text" placeholder="'. __("Search", "swiftframework") .'" name="s" />';
    			$blog_aux_output .= '</form></li>';
    			
    			// ARCHIVES
    			$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="archives"><i class="ss-storagebox"></i>'.__("Archives", "swiftframework").'</a>';
    			
    			// RSS LINK
    			if ($rss_feed_url != "") {
    			$blog_aux_output .= '<li><a href="'.$rss_feed_url.'" class="rss-link" target="_blank"><i class="fa-rss"></i>'.__("RSS", "swiftframework").'</a>';
    			}
    			
    			$blog_aux_output .= '</ul>'; // close .blog-aux-options
    			$blog_aux_output .= '</div>'; // close .blog-aux-wrap
    			
    			$blog_aux_output .= '<div class="filter-wrap slideout-filter blog-filter-wrap row clearfix">'; // open .blog-filter-wrap
    			$blog_aux_output .= '<div class="container">';
    			$blog_aux_output .= '<div class="filter-slide-wrap col-sm-12 asset-bg '.$filter_wrap_bg.'">';
    			
    			if ($category_list != '') {  
    			    $blog_aux_output .= '<ul class="aux-list aux-categories row clearfix">'.$category_list.'</ul>';  
    			}
    			if ($tags_list != '') {  
    			    $blog_aux_output .= '<ul class="aux-list aux-tags row clearfix">'.$tags_list.'</ul>';  
    			}	
    			if ($archive_list != '') {  
    			    $blog_aux_output .= '<ul class="aux-list aux-archives row clearfix">'.$archive_list.'</ul>';  
    			}
    			$blog_aux_output .= '</div>';
    			
    			$blog_aux_output .='</div></div>'; // close .blog-filter-wrap
    			
    			
    			/* AUX BUTTONS OUTPUT
    			================================================== */
    			return $blog_aux_output;	
    		
    		}
    	}

    Look for $archive_list = wp_get_archives('type=monthly&limit=36&echo=0'); and change the limit higher if needed.

    2) The Blog Aux RSS URL is set here: Theme Options => Blog Options.

    Those

    #305352
    3lias
    Member
    Post count: 128

    Hello David,

    will try solution 1. hopefully today if I get some time.

    2. There is no RSS setting under the dante theme menu which you have pointed out. Please see the attached screenshot.

    Attachments:
    You must be logged in to view attached files.
    #305354
    David Martin – Support
    Moderator
    Post count: 20834

    What theme version is that? Please add a WP login.

    Thanks.

    #305362
    3lias
    Member
    Post count: 128

    In WP it says Version: 3.3.32 Unfortunately our admin has restricted access to only those who are working in our company. But I guess you can see or not see this settings on your end as well or what do you see?

    #305964
    David Martin – Support
    Moderator
    Post count: 20834

    hmm yes, this looks to have been removed – I am checking this with the lead developer now for you.

    #306411
    3lias
    Member
    Post count: 128

    Ok. In the meantime we implemented a redirect to the main rss feed. Let me know if there will be a proper fix or solution for this. Thanks.

    #306424
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    This should be available in: Theme Options => General Options

    #307781
    3lias
    Member
    Post count: 128

    Hi David, you are right there is a option for the RSS Feed URL for the whole blog. Unfortunately this seems to be different for single categories which I assume a processed or managed by WP itself. Am I right?

    #307785
    David Martin – Support
    Moderator
    Post count: 20834

    Yes, that is correct – the blog option is for the main blog page. Here are a full list of WP feeds: https://codex.wordpress.org/WordPress_Feeds

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register