Archives and categories

edited January 2015 in Blog
Hie,
Very good theme ! My customer can really edit pages and make it responsive ! It changed my life !


I noticed that templates for archives and categories do not work the same as the whole website. And that theme options do no work completly.

Template for archives (month) : generates a page with an article without title or link and lists articles at the bottom of the page, no sidebar.
Template for categories : same thing.

Theme options for blog not working : excerpt does not work (no excerpt at all), no translation for "do you like it", no way to customize easyly an article block.

For categories I found a workaround with mod_rewrite, redirection 301 on a self-crafted page with visual composer or muffin builder using "blog" object. But the slider blog object has no drop down list to choose a category (not user friendly for my customer). I redirect /category/<category_name>/ to blog-<category-name>/ and I must create a page for each category. Inconvenient is that I can't do it for categories without articles because muffin builder/visual composer blog object does not find empty categories.

But for archives, I did not find any workaround, so I cannot use both archives and calendar : it serves something no one can understand.

Take a look :
http://www.corinne-allemoz.fr/blog/ => self-crafted page with blog object listing all articles, because default blog page is non intuitive
http://www.corinne-allemoz.fr/category/evenements/ redirected to a self crafted page http://www.corinne-allemoz.fr/blog-evenements/ so I can avoid this silly template
- non intuitive archive page : http://www.corinne-allemoz.fr/2015/01/ generating something unreadable and not intuitive => no sidebar, no link, no title, no excerpt but full article etc...


Have you got solution or suggestion I did not find in the documentation ?

Thanks a lot !

Comments

  • Hi,

    1. http://www.corinne-allemoz.fr/blog/ - and what you want to do on this page? Because we do not understand.

    2. If your pages are redirected this must be related with wordpress installation because .htaccess is responsible for that. You can try to click "Save changes" in Settings > Permalinks section and see if this will help. If not, then something must be wrong with .htaccess file on server.

    3. http://www.corinne-allemoz.fr/2015/01/ - Looks like you did not selected page for posts in Settings > Reading section.
  • 1. I mean that the default blog page declared on wordpress settings (settings / reading) displays the same thing as http://www.corinne-allemoz.fr/2015/01/ (an archive page) : no title, no excerpt, no link but at the bottom of the page. So I did a blog "page" with the visual builder blog object. Which is not simple for a common man !

    2. I wanted my pages to be redirected because betheme gives a bad default category display : no title, no link, no excerpt. So I choosed to modify .htaccess in order to do it with a page dedicated to each blog category. (I gave a solution to users having the same issue)

    3. This is an archive page listing articles in january 2015 : you can get it by clicking sidebar archive. Can you explain me what it prints out ^^ ? I can't understand what I see !
  • 1. Yes, this is how it supposed to work. Layout is the same. And if you have lot's of recent posts from Jan then of course the link you mentioned above will show the same posts. This is just archive page and this is how it supposed to work.

    2. We do not have anything like that so we really don't know how this can be done.

    3. As we mentioned above, they will show you the same posts as blog page. This is how archive works with wordpress and you can't do anything with this page. Archive means that this is the same page as blog but with posts but different dates.
  • edited January 2015
    Default wordpress generates a page that is displaying a list of articles : 
    - for each article : a title with a link to the article, an except, read more, a list of tags etc...
    - a featured image if available for each article with a link to the article
    - several articles under number limit fixed on wordpress options
    - navigation bar to navigate to other articles lists

    Default blog page and categories are displayed the same way like on websites I made like : http://www.antoinebertrand.com/category/actualites/
    which displays category "actualites" (containing all the blog articles) : title, link, excerpt

    Excuse my poor english ^^ 
    I just want to know how to fix thoose templates to get : 
    - sidebar like the whole website
    - articles displayed as commented above (title, link, excerpt)
    - formated featured image
    - no full article before the list of articles (at the bottom)


    And for the future (cause be sure I will make a lot of websites with betheme) I wished to ask you if it will be possible to customize it without manually editing templates !

    Thank you.
  • Yes, you're right. This is what default wordpress create and course it works the same on our demo what you can see below:

    http://themes.muffingroup.com/betheme/blog - Blog page
    http://themes.muffingroup.com/betheme/date/2014/05 - Archives page

    And if this does not work the same way for you, it meas that you did something wrong. We recommend to look at http://themes.muffingroup.com/betheme/documentation/#blog where everything has been explained about blog page creation.
  • edited January 2015
    Hi, thank your for answers.
    But I just did nothing special ! I did not change anything on templates after I updated it from envato market plugin. 

    Betheme 5.6 by Muffin group

    (did not update to 6.2 already)

    I made 2 modifications on your theme :
    - customized css for ul li lists (cause there is nothing for that on fonts options)
    - added a revolution slider on the header.php and used the layout 'below slider'

    I already rode the whole documentation, this is why I used blog object on a page instead of default blog or category page.

    Are there known bugs with wp supercache in rewrite mode ?
  • I can backup & update it for testing purposes.
  • We did not tested supercache so we have no idea. We use W3Total Cache instead and this one works very well. Maybe you can backup and update for tests. But as we wrote, everything is in the doc and we already did it once again on our test demo and of course it works exactly the way as has been described. So we really don't know what you did on your side.
  • edited January 2015
    Removed cache, reinitialized .htaccess, updated to 6.2 version : same bug !


    Do you want me to test with another layout ?
  • test with "modern" header style : same bug
  • edited January 2015
    We are sure that you did it wrong. Please install fresh wordpress installation with latest theme version on clean/new database and please do everything as has been described on http://themes.muffingroup.com/betheme/documentation/#blog and will work on 100%!

    P.S. We have the same theme version and as you can see on http://themes.muffingroup.com/betheme/date/2014/05 everything works fine what means the problem is on your side only.
  • I made it work : the bug is that to make categories, archives work correctly you MUST define a blog web page in wordpress settings : otherwise neither blog nor categories nor archives will work correctly
  • edited January 2015
    still can't see sidebar in these documents :
    - articles list
    - categories articles list
    - archives list

    Still no excerpt !

    any idea ?

    <div class="post-excerpt"></div>
  • This is what we described above and in the link we mentioned above! Page for posts MUST BE always defined in Settings > Reading section. Sidebars on pages you mentioned above is always the same as for blog page. So you MUST create BLOG page, assign sidebar for blog page and then the same will be visible on other pages related with blog. This is how wordpress works like.
  • Ok I finally understood how it works !  Thank you for support ! (What created confusion is only sidebar : I already had my own sidebar but I did not declare : left sidebar : finally the blog page is a kind of model/template for blog auto-generated pages like archives and categories)

    And what about missing excerpt ? 
    I set up 26 words for excerpt !
  • You use cache and this could be the main problem why excerpt do not show.

    About unnecessary elements on single portfolio page, please look at http://forum.muffingroup.com/betheme/discussion/2895/deleting-unnecessary-elements-single-portfolio-page-modifications where this has been explained.
  • no I removed super cache and custom .htaccess for testing, no cache atm ! TY for portfolio I need to customize it !
  • excerpt work with article grid btw. not with default blog page presentation (archives, categories, blog page)
  • edited January 2015
    Ok I found the issue. Because of visual editors betheme won't extract excerpt by its own. So You must manually add an excerpt section to each article.

    Is it why I can't have automatic excerpt ? 
    And if "yes", why my excerpt is not shortened to 26 words ?
    Why the object article grid does an automatic 26 words excerpt and not the blog page ?
  • You must did something wrong but we have no idea what you did exactly. Of course if you have "Excerpt" field for posts activated, then of course excerpts from this field will show. But if you dont have it activated, then excerpts should show automatically. On our demo we have excerpts automatically of course. We recommend to check all available settings on your side because there is somewhere mistake.
  • edited February 2018
    I have problem to create text on category pages above the posted articles. I need this badly to make the website perfect for SEO.
  • daniellarsson
    Sorry but this is not possible, the category pages are generated automatically.
    thanks
  • edited August 2018
    But it is a standard feature I want to add. Cannot find where I add this code.

    <?php
    the_archive_description( '<div class="taxonomy-description">', '' );
    ?>

  • Hi,
    You have to edit theme files to add this code.
    We do not support theme customization.
    Thanks.
  • You can put it in the index.php file @daniellarsson I put mine inside 


    <div class="section section-filters">
    <div class="section_wrapper clearfix">
Sign In or Register to comment.