-
AuthorPosts
-
January 23, 2020 at 12:40 pm #1177581
after the last update my web site is not correct
http://www.fostersrl.itJanuary 23, 2020 at 3:18 pm #1177647Hi,
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,
YigitJanuary 23, 2020 at 3:59 pm #1177675now in .htaccess i have delete all redirect
can you re-check please ?January 23, 2020 at 4:02 pm #1177678Hey,
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,
YigitJanuary 23, 2020 at 4:07 pm #1177682super 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’);
January 23, 2020 at 4:11 pm #1177687for example,
<link rel=”alternate” type=”application/rss+xml” title=”Foster srl » Feed” href=”https://www.fostersrl.it/feed/” />
<link rel=”alternate” type=”application/rss+xml” title=”Foster srl » Feed dei commenti” href=”https://www.fostersrl.it/comments/feed/” />January 23, 2020 at 4:26 pm #1177710Hi,
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,
YigitJanuary 23, 2020 at 4:43 pm #1177729i 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/” />
January 26, 2020 at 9:55 pm #1178526Hi,
Have you added the code that Yigit provided?
Best regards,
BasilisJanuary 26, 2020 at 10:01 pm #1178528perfect !!! thank you
January 27, 2020 at 10:46 am #1178628i’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/0QgMfdjJanuary 27, 2020 at 11:32 am #1178642function 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, 10 months ago by margiela.
January 29, 2020 at 4:48 am #1179270Hi,
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,
IsmaelJanuary 29, 2020 at 9:17 am #1179321hi
Ismael
i have again this code
https://ibb.co/cDt5m3v- This reply was modified 4 years, 9 months ago by margiela.
January 29, 2020 at 12:26 pm #1179381Hi, i try to move to move the remove_action/s inside the avia_remove_feeds callback function
but i have the same isuuefunction 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, 9 months ago by margiela.
January 29, 2020 at 12:39 pm #1179389now 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 infoadd_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);?>
January 30, 2020 at 4:52 pm #1179995Hi,
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,
IsmaelJanuary 30, 2020 at 4:58 pm #1180003thank you
January 31, 2020 at 1:53 pm #1180266 -
AuthorPosts
- The topic ‘last update’ is closed to new replies.