Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1177581

    after the last update my web site is not correct
    http://www.fostersrl.it

    #1177647

    Hi,

    Thanks for contacting us!

    You have redirects in your .htaccess file so theme assets cannot be found. I attached two links in private content field showing the wrong and correct paths.

    Regards,
    Yigit

    #1177675

    now in .htaccess i have delete all redirect
    can you re-check please ?

    #1177678

    Hey,

    I cleared cache and refreshed browser window and it loaded fine. Please hard refresh your page with CTRL + Shift + R on Windows and CMD + Shift + R on Mac :)

    Best regards,
    Yigit

    #1177682

    super thank you

    Yigit
    i have another question…

    for delete all automatic feed
    in chill theme …. it’s correct this ?

    remove_theme_support(‘automatic-feed-links’);

    #1177687

    for example,

    <link rel=”alternate” type=”application/rss+xml” title=”Foster srl » Feed” href=”https://www.fostersrl.it/feed/&#8221; />
    <link rel=”alternate” type=”application/rss+xml” title=”Foster srl » Feed dei commenti” href=”https://www.fostersrl.it/comments/feed/&#8221; />

    #1177710

    Hi,

    Please add following code to bottom of Functions.php file of your child theme

    function avia_remove_feeds() { 
    remove_theme_support('automatic-feed-links');
    } 
    add_action( 'init', 'avia_remove_feeds');

    Regards,
    Yigit

    #1177729

    i have this again in post blog

    <link rel=”alternate” type=”application/rss+xml” title=”Foster srl » Pellicole a controllo solare Feed dei commenti” href=”https://www.fostersrl.it/pellicola-xtrm-silver-20-35x/feed/&#8221; />

    #1178526

    Hi,

    Have you added the code that Yigit provided?

    Best regards,
    Basilis

    #1178528

    perfect !!! thank you

    #1178628

    i’m sorry
    in all the pages of the site there is still a link tag with an attribute valued at https://www.fostersrl.it/feed/
    https://ibb.co/0QgMfdj

    #1178642

    function avia_remove_feeds() {
    remove_theme_support(‘automatic-feed-links’);
    }
    add_action( ‘init’, ‘avia_remove_feeds’);

    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Display the links to the general feeds: Post and Comment Feed
    remove_action( ‘wp_head’, ‘rsd_link’ ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
    remove_action( ‘wp_head’, ‘wlwmanifest_link’ ); // Display the link to the Windows Live Writer manifest file.
    remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link
    remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // prev link
    remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link
    remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( ‘wp_head’, ‘wp_generator’ ); // Display the XHTML generator that is generated on the wp_head hook, WP version
    ?>

    • This reply was modified 4 years, 11 months ago by margiela.
    #1179270

    Hi,

    Thank you for the update.

    Try to move the remove_action/s inside the avia_remove_feeds callback function.

    // https://stackoverflow.com/questions/34750148/how-to-delete-remove-wordpress-feed-urls-in-header

    Best regards,
    Ismael

    #1179321

    hi
    Ismael
    i have again this code
    https://ibb.co/cDt5m3v

    • This reply was modified 4 years, 11 months ago by margiela.
    #1179381

    Hi, i try to move to move the remove_action/s inside the avia_remove_feeds callback function
    but i have the same isuue

    function avia_remove_feeds() {
    remove_theme_support(‘automatic-feed-links’);
    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 );
    remove_action( ‘wp_head’, ‘feed_links’, 2 );
    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Display the links to the general feeds: Post and Comment Feed
    remove_action( ‘wp_head’, ‘rsd_link’ ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
    remove_action( ‘wp_head’, ‘wlwmanifest_link’ ); // Display the link to the Windows Live Writer manifest file.
    remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link
    remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // prev link
    remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link
    remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( ‘wp_head’, ‘wp_generator’ ); // Display the XHTML generator that is generated on the wp_head hook, WP version
    }
    add_action( ‘init’, ‘avia_remove_feeds’);

    • This reply was modified 4 years, 11 months ago by margiela.
    #1179389

    now in my function.php

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */
    // Hide editor info

    add_filter(‘display_post_states’,’remove_ALB_post_state’,999,2);
    function remove_ALB_post_state( $post_states, $post ) {
    if(“! has_blocks( $post->ID )”) {
    unset($post_states[‘wp_editor’]);
    }
    if(“!= Avia_Builder()->get_alb_builder_status($post->ID)”) {
    unset($post_states[‘avia_alb’]);
    }
    return $post_states;
    }

    function avia_remove_feeds() {
    remove_theme_support(‘automatic-feed-links’);
    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 );
    remove_action( ‘wp_head’, ‘feed_links’, 2 );
    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Display the links to the general feeds: Post and Comment Feed
    remove_action( ‘wp_head’, ‘rsd_link’ ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
    remove_action( ‘wp_head’, ‘wlwmanifest_link’ ); // Display the link to the Windows Live Writer manifest file.
    remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link
    remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // prev link
    remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link
    remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( ‘wp_head’, ‘wp_generator’ ); // Display the XHTML generator that is generated on the wp_head hook, WP version
    }
    add_action( ‘init’, ‘avia_remove_feeds’);

    function itsme_disable_feed() {
    wp_die( __( ‘No feed available, please visit the homepage!’ ) );
    }

    add_action(‘do_feed’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_rdf’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_rss’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_rss2’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_atom’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_rss2_comments’, ‘itsme_disable_feed’, 1);
    add_action(‘do_feed_atom_comments’, ‘itsme_disable_feed’, 1);

    ?>

    #1179995

    Hi,

    We just found out that that particular markup or link tag is generated by the theme. Please include this snippet in the avia_remove_feeds function.

    remove_action( 'wp_head', 'avia_set_rss_tag', 10, 0 );
    

    Thank you for your patience.

    Best regards,
    Ismael

    #1180003

    thank you

    #1180266

    Hi,

    You’re welcome! Please don’t hesitate to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘last update’ is closed to new replies.