Forum Replies Created
-
AuthorPosts
-
every day in the morning at 8 if I connect in incognito mode to the page https://ramesushi.it/asporto/ takeout I never have the products … I always have to re-save the page and then everything works …. to see an error you can see it in the morning because then I have to make the site work web for orders
This reply has been marked as private.The shop page is not visible
… but after saving ..
the shop page is visible againsorry..you have now seen it visible because I have re-saved the page ….. and the problem has been corrected … unfortunately I had to do it because the site is online and must be usable for orders
every time I connect in the morning, even privately / incognito, the shop page is not visible ..
I don’t know why ….. what could be the cause of the error?now the shop not work..
can you check it?now I have to re-save the page to be able to use the website
because it’s almost time for lunchDoes the issue happen when you use Advanced Layout Builder to create your shop page?
no
only after the last theme updatehi, now the page do not works
i don’t know how to reproduce it.
yes i try also whit private browser
the problem keeps repeating itself …
it is not the first time that I save the page in order to resolve the error.Can you tell me what it can depend on?
thank youI have now resaved the page and it works again
Ismael the shop page do not visible now
can you check plese?ok thank you
now it’s perfectThis reply has been marked as private.ok thank you
thank you
Inline small JavaScript
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 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);?>
Hi, 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.
hi
Ismael
i have again this code
https://ibb.co/cDt5m3v- This reply was modified 4 years, 9 months ago by margiela.
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, 9 months ago by margiela.
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/0QgMfdjperfect !!! thank you
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/” />
for 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/” />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’);
now in .htaccess i have delete all redirect
can you re-check please ?in child theme this is ok ?
remove_theme_support(‘automatic-feed-links’)- This reply was modified 4 years, 9 months ago by margiela.
-
AuthorPosts