• Resolved Drawer2

    (@drawer2)


    I love the look of this theme, Ascetica. However, this is a “free” theme listed here that you must pay for to get any help at all, and the php files are not straightforward, to be able to change the code.

    I have an image blog, and I like that that Home page shows excerpts and thumbnails, not full posts. However, I would like to change the size of the thumbnails, which are only 100px, not 150px as listed in our Media Admin.

    In addition, I would like for readers to see all posts, NOT excerpts, when they click the categories, so it’s not so tedious seeing the various cartoons.

    When I tried to insert: `<?php if ( is_category() ) {
    the_content();
    } else {
    the_excerpt();
    } ?>` to change the excerpts in the function file, this didn’t work.

    I couldn’t find any style or code to change the thumbnail size.

    Has anyone else a solution they could share? https://donnabarstow.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • edit content.php;

    find (about 6 lines from the end):

    <?php the_excerpt(); ?>

    do your coditiional coding there;
    example:

    <?php if( is_category() ) : the_content();
    else : the_excerpt();
    endif; ?>
    Thread Starter Drawer2

    (@drawer2)

    Thank you for responding! ??

    It makes the excerpts longer, more words, but it still doesn’t show a page of complete posts. Maybe it’s built into categories, that they are always excerpts?

    unfortunately, I cannot reproduce the behaviour of your site with the lates version of Escetica; it does change the way I based my suggestion on.

    however, you theme’s version is 0.2.1

    what is the full code of content.php in your theme?

    does your theme have a category.php template?
    and if, what is the code?

    Thread Starter Drawer2

    (@drawer2)

    Alchymyth, you are CORRECT, I have not upgraded to the latest version of Ascetica! That is because I know how difficult this version is to modify, without paying for his help, and I was afraid the latest version would be even harder to adjust! (fortunately, I only wanted to change a little bit of style in it, anyway.)

    There is NO category.php in this version.

    I pasted the whole content.php here for you in pastebin. The last few lines are still your suggestion above. I haven’t changed anything else in it.

    what code are you using to get the thumbnail to each post in the archive page?

    have you tried to (temporarily) deactivate all pluginis to see if that shows the full post into the category archive page?

    you can then re-activate one plugin at a time to possibly locate the one that is interfering.

    Thread Starter Drawer2

    (@drawer2)

    Well, I feel stupid!

    I do have the Thumbnails for Excerpts plugin, for all my blogs, actually – I think it should be built-in to WordPress organically to include a thumbnail of an image.

    I didn’t realize until now that it affects not only images, but how text excerpts appear. Now the full posts for Categories shows, thank you. For some reason, it lops off the post metadata of Tags/No. of Comments, but I understand that is a separate topic, so will do that.
    Thank you again, alchymyth. It’s nice to have someone answer a question here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ascetica: How to change categories from excerpts to full content’ is closed to new replies.