• Resolved 3r3ct0r

    (@3r3ct0r)


    Hi,

    Since the last update, all my websites with your plugin have the feed that has stopped working. the description no longer contains text, just this.

    <description><![CDATA[]]></description>

    can you tell me how to reintegrate the content of my articles into the description please?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter 3r3ct0r

    (@3r3ct0r)

    with roll back + cache refresh it’s ok with previous version.

    Yeah they messed up in the file /controllers/class-gnpub-feed.php

    In line 158 they reset the content of the post in the new featured image settings like this:

    $content = “<figure><img src=\”{$featured_image_url}\” class=\”type:primaryImage\””;

    so the content is now gone…

    To fix it just replace from row 158 to 171 with this:

    if ($featured_image_url) {

    ? ? ? ? ? ? $contentImage = "<figure><img src=\"{$featured_image_url}\" class=\"type:primaryImage\"";

    ? ? ? ? ? ? if ($alt) {

    ? ? ? ? ? ? ? ? $contentImage .= " alt=\"{$alt}\"";

    ? ? ? ? ? ? }

    ? ? ? ? ? ? $contentImage .= " />";

    ? ? ? ? ? ? if ($caption) {

    ? ? ? ? ? ? ? ? $contentImage .= "<figcaption>{$caption}</figcaption>";

    ? ? ? ? ? ? }

    ? ? ? ? ? ? if ($description) {

    ? ? ? ? ? ? ? ? $contentImage .= "<div class=\"image-description\">{$description}</div>";

    ? ? ? ? ? ? }

    ? ? ? ? ? ? $contentImage .= "</figure>";

    ? ? ? ? ? ? $content = $contentImage . $content;

    ? ? ? ? }
    Thread Starter 3r3ct0r

    (@3r3ct0r)

    Thank You.
    Incomprehensible that it was published as is…

    Hope they’ll release an update soon, we have lots of sites using this plugin but now it’s completely broken!

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us, and apologize for the inconvenience.

    We are currently working on this issue and will provide you with an update shortly. We kindly request your patience in the meantime.

    Here is the GitHub ticket.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi @3r3ct0r & @lucamago ,

    We have just released the new update, version 1.5.120. Kindly update the plugin to the latest version, clear the cache, and give it a try.

    Now with my code fix it works thanks!

    Can I be cited in the release note? ??

    Plugin Support Akshay A

    (@akshaycode1)

    Glad to hear that your issue has been resolved. This thread is now being closed, but if you need any assistance, please feel free to reach out.

    Regarding your request to be mentioned in the release notes, I will pass it along to the team for consideration and ensure it is included in the upcoming update. We truly appreciate community contributions that help improve the plugin. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.