Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Archive and RSS Feed Problem
New Landing › How can we help? › Themeforest Theme Support › Dante › Archive and RSS Feed Problem
- This topic has 9 replies, 2 voices, and was last updated 8 years by
David Martin – Support.
-
Posted in: Dante
-
December 2, 2016 at 11:23 am #304878
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?
December 5, 2016 at 5:19 pm #3051711) 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
December 6, 2016 at 3:11 pm #305352Hello 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.December 6, 2016 at 3:25 pm #305354What theme version is that? Please add a WP login.
Thanks.
December 6, 2016 at 4:40 pm #305362In 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?
December 9, 2016 at 10:53 am #305964hmm yes, this looks to have been removed – I am checking this with the lead developer now for you.
December 13, 2016 at 3:20 pm #306411Ok. 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.
December 13, 2016 at 4:07 pm #306424Hi,
This should be available in: Theme Options => General Options
December 22, 2016 at 2:22 pm #307781Hi 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?
December 22, 2016 at 2:25 pm #307785Yes, 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
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.