• Resolved arniarni

    (@arniarni)


    Hi,
    Have 2 problems:
    1) Not all post displayed in selected category.
    2) I set cache update is true but one of featured picture in loop is not visible (but this picture is visible in default WP loop).
    My code is below:

    [loop type="post" category="forum" order="DESC" orderby="date" cache="true" update="true"]
        <img src='[field image-url]' align="left" width="72" height="72" hspace="5" vspace="5"><strong>[field title-link]</strong><br>
        <p>Author: [field author] | Posted: [field date] | Updated: [field modified]</p>
        <p>[field excerpt words="30"]</p>
    [/loop]

    Regards,
    Arni

    https://www.ads-software.com/plugins/custom-content-shortcode/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hmm, the code looks OK, so it’s difficult to say where the issue is coming from.

    1) Can you try to find out what is common with the posts that are not displayed? For example, do they have multiple categories, have specific publish status, etc. It would be helpful to find what is different about those posts that do not display.

    2) So, one specific image is not displaying. I wonder what is different about it – is it the newest featured image? Is something different about that particular post?

    Thread Starter arniarni

    (@arniarni)

    Hi Eliot,

    1) Problem was solved after system cache clearing and rebooting (why doesn’t works cache shortcode?). About your question – some posts (in this category) have multiple categories but haven’t any other specific parameters. I think that problem in cache.

    2) As I writed above all posts are visible now. But now 2 images are not displayed. One of them new (uploaded 3-4 days ago) and second – old. I do not see other features. I will see, if I find the cause then I’ll let you know. May be you can find.

    Thread Starter arniarni

    (@arniarni)

    Hi,

    2) I found. It’s my problem, sorry. After removing to new domain some images was lost and in frontend was displayed first images as featured. This problem was fixed and now plugin works well.

    Plugin Author Eliot Akira

    (@miyarakira)

    Great, I’m glad you solved the issue. I’ve tested the cache feature as best as I could, but I think not so many people use it – so I’d appreciate any feedback on how it works for you.

    Thread Starter arniarni

    (@arniarni)

    Ok, if I find any causes of this problem I’ll let you know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not all of posts is visible in category’ is closed to new replies.