Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter axop9

    (@axop9)

    Yes, I use a plugin from my CMP, but it does not support Web Stories AMP. I have already contacted the developers to ask when and if they will support Web Stories.

    In the mean time, I was thinking a way to resolve this problem, but I have not so many skills about coding. My idea is to use a way similar to the login redirect: when reaching the Web Story URL, if the consent has never been given by user, it redirects to a page with UI consent; after collecting the consent, it redirects to the Web Story URL. If the consent is already been collected, it shows directly the Web Story URL.

    Thread Starter axop9

    (@axop9)

    Just for understanding a thing:

    I made a full backup of the website and I’m running it in local, using XAMPP. All works fine with the new 4.6 update. No more errors (in local).

    If I don’t have anymore erros, could it be the local run (XAMPP’s magic?) or can I confirm it’s a server error?
    Just for being clear, I will move to another hosting-service in the next few days. I will restore the backup in the new host. I will have a 101% confirmations if it’s a server issue.

    Thread Starter axop9

    (@axop9)

    @tara I did also the manually update, like you said… but nothing. I don’t know what the problem is. I will restore the old backup for now.

    I’m afraid it can be a php problem or something like that (server side).

    Thread Starter axop9

    (@axop9)

    I can’t. If I push that button, I reiceve the message: Download Failed Response could not be parsed.

    Forum: Fixing WordPress
    In reply to: Cutting a post
    Thread Starter axop9

    (@axop9)

    In fact this is a big problem, because, how I said, all articles have also the source on the bottom. So with this code I have only the first 300 characters.
    If I use also this other code (below), I can let the source to be displayed:
    <?php echo(substr(strip_tags(nl2br(get_the_content('')),"<img><b><strong><i><em><a>"), -100, 100)); ?>

    But the problem is the same: it can cut html, receiving broken links or broken text, because an URL is different from post to post.

    I tested the two echos receiving a text with a broken img and the source cutted with broken link.

    I will check your link for more infos.

    Forum: Fixing WordPress
    In reply to: Cutting a post
    Thread Starter axop9

    (@axop9)

    Is this correct for not have any changes in the formatting?

    <?php echo(substr(strip_tags(nl2br(get_the_content('')),"<img><b><strong><i><em><a>"), 0, 300)); ?>

    Forum: Fixing WordPress
    In reply to: Cutting a post
    Thread Starter axop9

    (@axop9)

    It works, but: is there a way to not remove HTML tags? Because this code remove the formatting style, I have only a clean-text.

Viewing 7 replies - 1 through 7 (of 7 total)