Το καινούργιο url
https://www.domain.com/feed?code=randompassword
προσθέστε στο τέλος του αρχείου:
/wp-includes/functions.php
1
2
3
4
5
6
7
8
9
10
11
|
function digwp_disable_feed() {
if ($_GET[‘code’]<>‘randompassword’) {
wp_die(__());
}
}
add_action(‘do_feed’, ‘digwp_disable_feed’, 1);
add_action(‘do_feed_rdf’, ‘digwp_disable_feed’, 1);
add_action(‘do_feed_rss’, ‘digwp_disable_feed’, 1);
add_action(‘do_feed_rss2’, ‘digwp_disable_feed’, 1);
add_action(‘do_feed_atom’, ‘digwp_disable_feed’, 1);
|
Για να κρύψετε το rss εικονίδιο επεξεργαστείτε το αρχείο:
/wp-content/themes/jarida/style.css
Προσθέστε στην κορυφή του αρχείου:
1
2
3
|
.tieicon-rss {
display: none;
}
|