Forum Replies Created

Viewing 15 replies - 31 through 45 (of 58 total)
  • Thread Starter fabykennedy

    (@fabykennedy)

    Again, if this can help, I noticed that the problem is this piece of code:

    if ( ! empty( $more_link_text ) ) {
                    $output .= apply_filters( 'the_content_more_link', ' <a>ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );

    Conversely, the old one works fine and doesn’t return any errors:

    if ( ! empty( $more_link_text ) ) {
                    $output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink( $_post ) . "#more-{$_post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );
    Thread Starter fabykennedy

    (@fabykennedy)

    Hi Stéphane and thank you very much for your support. I’m sorry to bother but I couldn’t even try if the code works because when I save the change I see this error:

    syntax error, unexpected 'falang_translate_post_content' (T_STRING), expecting ')'

    I just don’t get it. The code I took from the old topic doesn’t return any errors.

    Thread Starter fabykennedy

    (@fabykennedy)

    Thanks for replying. I currently use this theme, Lavander Lite.

    Thread Starter fabykennedy

    (@fabykennedy)

    One last thing. If this can help, I tried to change various themes and until now only one seems to work: Twenty Twenty-One. Continue reading button is showed and the article is complete when I click on it to fully read it.

    Oh and another thing. Besides the “continue reading” buttun not showing, the articles only show one paragraph. The rest of the content is completely lost. That’s a very bad issue…

    Hi there. I’m encountering the same issue. I put the code in the functions.php file of my child theme and even if it solves the problem, it makes the “continue reading” button disappear… any news about the fix?

    Thread Starter fabykennedy

    (@fabykennedy)

    Thank you, now I can set metadata.

    Thread Starter fabykennedy

    (@fabykennedy)

    Here is what I see, here is what I woul need to see Yoast SEO suggestions and add the metadata.

    So there’s no way to work with the second one? If so, how can I add the metadata? I usually do it through the Yoast SEO panel.

    Thread Starter fabykennedy

    (@fabykennedy)

    All right I solved everything simply setting up the articles through the “Customize” button. In other words I didn’t make my edits using the control panel menu. I really can’t say what happened before when I added that ID but I’m glad everything is ok now. Thanks very much for your support.

    Thread Starter fabykennedy

    (@fabykennedy)

    I don’t think I set up any category, I just inserted the IDs.

    try removing the category from the query and disable the cache for the moment.

    Can you tell me how to do it?

    Thread Starter fabykennedy

    (@fabykennedy)

    Thanks for the answer. Here’s the query.

    `Posts in Sidebar Debug
    Informazioni di ambiente:

    URL DEL SITO: https://WWW.WINGEDTEACHER.COM
    URL DELLA PAGINA: https://WWW.WINGEDTEACHER.COM
    VERSIONE DI WP: 5.9.1
    VERSIONE DI PIS: 4.16.3
    ID DEL WIDGET: PIS_TRANSIENTS_PIS_POSTS_IN_SIDEBAR-4
    CACHE: ATTIVA.
    CREATA IL: 6 MARCH 2022 22:57
    SCADRà IL: 6 MARCH 2022 23:53
    DURATA: 56 MINUTI
    TEMPO TRASCORSO: 1 MINUTO
    SCADE IN: 55 MINUTI
    QUERY: 50 QUERY IN 1,006 SECONDI
    I parametri della query:

    POST_TYPE: POST
    POST__IN:
    0: 3386
    1: 5984
    2: 2199
    3: 3371
    4: 2380
    5: 5724
    6: 1948
    7: 2436
    8: 1974
    9: 1857
    10: 3010
    CATEGORY_NAME: GESTIONE
    DATE_QUERY:
    INCLUSIVE: 1
    POSTS_PER_PAGE: 6
    ORDERBY: POST__IN
    ORDER: DESC
    POST_STATUS: PUBLISH
    IGNORE_STICKY_POSTS: TRUE
    Le opzioni del widget:

    TITLE: SELEZIONATI PER TE
    POST_TYPE: POST
    POSTS_ID: 8837, 8075, 4363, 3010
    POSTS_BY_COMMENTS: TRUE
    NUMBER: 6
    ORDERBY: DATE
    ORDER: DESC
    POST_STATUS: PUBLISH
    HAS_PASSWORD: NULL
    IGNORE_STICKY: TRUE
    GET_FROM_SAME_CAT: TRUE
    SORT_CATEGORIES: TRUE
    YOAST_MAIN_CAT: TRUE
    ORDERBY_SAME_CAT: DATE
    ORDER_SAME_CAT: DESC
    SEARCH_SAME_CAT: TRUE
    POST_TYPE_SAME_CAT: POST
    GET_FROM_SAME_TAG: TRUE
    SORT_TAGS: TRUE
    ORDERBY_SAME_TAG: DATE
    ORDER_SAME_TAG: DESC
    SEARCH_SAME_TAG: TRUE
    POST_TYPE_SAME_TAG: POST
    GET_FROM_SAME_AUTHOR: TRUE
    ORDERBY_SAME_AUTHOR: DATE
    ORDER_SAME_AUTHOR: DESC
    SEARCH_SAME_AUTHOR: TRUE
    POST_TYPE_SAME_AUTHOR: POST
    GET_FROM_CUSTOM_FLD: TRUE
    ORDERBY_CUSTOM_FLD: DATE
    ORDER_CUSTOM_FLD: DESC
    SEARCH_SAME_CF: TRUE
    POST_TYPE_SAME_CF: POST
    GET_FROM_SAME_POST_FORMAT: TRUE
    ORDERBY_SAME_POST_FORMAT: DATE
    ORDER_SAME_POST_FORMAT: DESC
    SEARCH_SAME_POST_FORMAT: TRUE
    POST_TYPE_SAME_POST_FORMAT: POST
    DONT_IGNORE_PARAMS: TRUE
    GET_FROM_CAT_PAGE: TRUE
    ORDERBY_CAT_PAGE: DATE
    ORDER_CAT_PAGE: DESC
    POST_TYPE_CAT_PAGE: POST
    GET_FROM_TAG_PAGE: TRUE
    ORDERBY_TAG_PAGE: DATE
    ORDER_TAG_PAGE: DESC
    POST_TYPE_TAG_PAGE: POST
    GET_FROM_AUTHOR_PAGE: TRUE
    ORDERBY_AUTHOR_PAGE: DATE
    ORDER_AUTHOR_PAGE: DESC
    POST_TYPE_AUTHOR_PAGE: POST
    GET_FROM_POST_FORMAT_PAGE: TRUE
    ORDERBY_POST_FORMAT_PAGE: DATE
    ORDER_POST_FORMAT_PAGE: DESC
    POST_TYPE_POST_FORMAT_PAGE: POST
    DONT_IGNORE_PARAMS_PAGE: TRUE
    DATE_INCLUSIVE: TRUE
    GET_FROM_USERNAME: TRUE
    USE_CATEGORIES: TRUE
    DONT_IGNORE_PARAMS_USERNAME: TRUE
    EXCLUDE_CURRENT_POST: TRUE
    DISPLAY_TITLE: TRUE
    LINK_ON_TITLE: TRUE
    ARROW: TRUE
    TITLE_LENGTH_UNIT: WORDS
    TITLE_HELLIPSIS: TRUE
    HTML_TITLE_TYPE_OF: P
    DISPLAY_IMAGE: TRUE
    IMAGE_SIZE: THUMBNAIL
    IMAGE_ALIGN: NOCHANGE
    IMAGE_BEFORE_TITLE: TRUE
    CUSTOM_IMG_NO_THUMB: TRUE
    IMAGE_LINK_TO_POST: TRUE
    EXCERPT: NONE
    EXC_LENGTH: 20
    EXC_LENGTH_UNIT: WORDS
    THE_MORE: LEGGI IL SEGUITO…
    EXC_ARROW: TRUE
    DISPLAY_AUTHOR: TRUE
    AUTHOR_TEXT: DI
    LINKIFY_AUTHOR: TRUE
    GRAVATAR_DISPLAY: TRUE
    GRAVATAR_SIZE: 32
    GRAVATAR_POSITION: NEXT_AUTHOR
    DISPLAY_DATE: TRUE
    DATE_TEXT: PUBBLICATO IL
    LINKIFY_DATE: TRUE
    DISPLAY_TIME: TRUE
    DISPLAY_MOD_DATE: TRUE
    MOD_DATE_TEXT: MODIFICATO IL
    LINKIFY_MOD_DATE: TRUE
    DISPLAY_MOD_TIME: TRUE
    COMMENTS: TRUE
    COMMENTS_TEXT: COMMENTI:
    LINKIFY_COMMENTS: TRUE
    DISPLAY_COMM_NUM_ONLY: TRUE
    HIDE_ZERO_COMMENTS: TRUE
    UTILITY_SEP: |
    UTILITY_AFTER_TITLE: TRUE
    UTILITY_BEFORE_TITLE: TRUE
    CATEGORIES: TRUE
    CATEG_TEXT: CATEGORIA:
    CATEG_SEP: ,
    CATEG_BEFORE_TITLE: TRUE
    CATEG_AFTER_TITLE: TRUE
    TAGS: TRUE
    TAGS_TEXT: TAG:
    HASHTAG: #
    TAGS_BEFORE_TITLE: TRUE
    TAGS_AFTER_TITLE: TRUE
    DISPLAY_CUSTOM_TAX: TRUE
    TERM_SEP: ,
    CTAXS_BEFORE_TITLE: TRUE
    CTAXS_AFTER_TITLE: TRUE
    CUSTOM_FIELD_ALL: TRUE
    CUSTOM_FIELD: TRUE
    CUSTOM_FIELD_HELLIP: …
    CUSTOM_FIELD_KEY: TRUE
    CUSTOM_FIELD_SEP: :
    CF_BEFORE_TITLE: TRUE
    CF_AFTER_TITLE: TRUE
    ARCHIVE_LINK: TRUE
    LINK_TO: CATEGORY
    AUTO_TERM_NAME: TRUE
    ARCHIVE_TEXT: VISUALIZZA TUTTI GLI ARTICOLI SOTTO %S
    NOPOST_TEXT: ANCORA NESSUN ARTICOLO.
    HIDE_WIDGET: TRUE
    MARGIN_UNIT: PX
    LIST_ELEMENT: UL
    REMOVE_BULLETS: TRUE
    ADD_WP_POST_CLASSES: TRUE
    CACHED: TRUE
    CACHE_TIME: 3600
    WIDGET_ID: PIS_POSTS_IN_SIDEBAR-4
    ADMIN_ONLY: TRUE
    DEBUG_QUERY: TRUE
    DEBUG_PARAMS: TRUE
    DEBUG_POST_ID: TRUE

    Thread Starter fabykennedy

    (@fabykennedy)

    Yes it’s worked, everything is working properly now. Thank you very much for your kindness.

    Thread Starter fabykennedy

    (@fabykennedy)

    Plugin version: 5.4.2
    WordPress version: 5.8.1
    I can’t switch to a different theme ‘cos the option is locked. Actually I can’t even set “None”, it’s all blocked.

    I’ve tried to customize it with Firefox, Chrome and Edge through WordPress panel but the problem persists as you can see here.

    Yeah this is strange… I’ve even tried to start Firefox in safe mode ‘cos I thought the problem might have caused by some extension but no way…

    Thread Starter fabykennedy

    (@fabykennedy)

    Thank you very much for the fast reply. I’ve just tried but unfortunately there’s the same problem. Don’t worry, I’ll wait for a fix and thanks again.

    Thread Starter fabykennedy

    (@fabykennedy)

    Sure! Using my WordPress CSS I added the following line of code.

    .bafg-twentytwenty-container {	
    margin: 0 auto;
    }

    That’s it!

Viewing 15 replies - 31 through 45 (of 58 total)