• Resolved pch101

    (@pch101)


    Hi again —

    An issue with text excerpts on the latest version of the Mesocolumn theme (v 1.6.5.1) when used with multisite.

    I have one website with Mesocolumn that I use for testing and that does not use multisite. That website has no issues.

    On a website with multisite that uses subfolders (i.e. example.com, example.com/alpha, example.com/beta, etc.), I have no issues with the website on the parent domain (example.com).

    However, on the child websites (example.com/alpha, example.com/beta, etc.), the text excerpts do not appear on the home page. The text excerpts **do** appear in the slider, in the category archives, and in the preview section of Appearance >> Customize, but not on the home page.

    Clearing caches does not fix this.

    Entering different amounts in Appearance >> Customizing >> General >> Posts >> Enter Post Excerpt Count or leaving it blank does not help.

    Making the edit to theme-functions.php described on the following link doesn’t fix it: https://www.ads-software.com/support/topic/mesocolumn-1651-is-no-longer-showing-excerpts

    There is no child theme.

    Ideas are appreciated. Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Richie KS

    (@rkcorp)

    don’t know, seem ok to me, using ms network installation, also with sub-directory, not sub-domain, and the excerpt is showing in other site(s).

    Thread Starter pch101

    (@pch101)

    Thanks for checking.

    Perhaps this will help: When viewing the page source, the “entry-content feat-content” field appears on the home page of the parent domain (example.com) for each post, while it does not appear on the posts on the home pages of the child domains (example.com/alpha, example.com/beta, etc.). So the excerpt isn’t displaying on those child domain home pages because it isn’t being pulled in at all. (The posts that appear in the slider are coming from a different location on the page, which would explain why they aren’t affected.)

    So the issue is one of why ‘entry-content feat-content” is not appearing as it should be. Do you know what could be causing it?

    Thanks again.

    Theme Author Richie KS

    (@rkcorp)

    entry-content feat-content is template html, it will show up no matter what, unless you had edit it etc..
    so it might be on the dez_get_custom_excerpt() functions call.

    try replace dez_get_custom_excerpt() in index.php or lib/template/home-feat-cat-top or bottom.php with the_excerpt() and see if it show. want to make sure if the dez_get_custom_excerpt() is causing it.

    Thread Starter pch101

    (@pch101)

    I couldn’t locate `dez_get_custom_excerpt() in index.php or in lib/template/home-feat-cat.php

    In lib/template/feat-cat-meta-top.php and lib/template/feat-cat-meta-bottom.php, I replaced:

    echo dez_get_custom_the_excerpt($post_custom_excerpt,”); ?></div><?php } ?>

    -with-

    echo the_excerpt($post_custom_excerpt,”); ?></div><?php } ?>

    but that didn’t help.

    In content.php, I replaced:

    <div class=”entry-content”><?php echo dez_get_custom_the_excerpt($archive_excerpt); ?></div>

    -with-

    <div class=”entry-content”><?php echo the_excerpt($archive_excerpt); ?></div>

    which also didn’t help.

    Theme Author Richie KS

    (@rkcorp)

    yes, replace
    dez_get_custom_the_excerpt($post_custom_excerpt,”);
    with
    the_excerpt();

    *not the_excerpt($archive_excerpt);

    i see using wp built in the_excerpt() also did not work.
    no clue then, since i mention they work in my end for both main site and sub-directory site in ms.

    Thread Starter pch101

    (@pch101)

    Unfortunately, replacing

    dez_get_custom_the_excerpt($post_custom_excerpt,”);

    with

    the_excerpt();

    also did not work.

    Could it possibly be SSL-related? (I don’t see why this would be relevant, but the parent and child sites are all https.)

    Theme Author Richie KS

    (@rkcorp)

    try use different theme and see if the sub site excerpt work. maybe theme with magazine layout + excerpt.

    Thread Starter pch101

    (@pch101)

    The excerpts show up on the child sites when using the Twenty Fifteen theme.

    Switching from default to magazine layout in Mesocolumn made no difference.

    Theme Author Richie KS

    (@rkcorp)

    did you try customize->homepage featured category->layout style->post excerpt count->edit number->save.

    Thread Starter pch101

    (@pch101)

    Thanks, that resolved it.

    (What I don’t understand is why it didn’t work before, as I had already tried that previously. I’m starting to think that it was my caching plugin, which I ended up removing completely and reinstalling.)

    Theme Author Richie KS

    (@rkcorp)

    yeap, sometime you need to save a few time due to customizer ajax request..

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Text excerpts – problems with multisite’ is closed to new replies.