Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
THE FOLLOWING LINE IN FUNCTIONS.PHP DO NOT REMOVE /WP-JSON/ ON MY CURRENT THEME:
remove_action( ‘wp_head’, ‘rest_output_link_wp_head’, 10 );
*** SO I FACE TWO ISSUES THAT ARE VIEWABLE IN THE SOURCE:
1). /WP-JSON/
2). WP TABLE-ID (ON WIDGETS)the problem is with the widgets. All active widgets show
table id=”wp-
Replacing do not work as it brakes the styling.
Please let me know on this.
also renaming wp-calendar to calendar brake the styling of the calendar. Do you have an idea how to replace that ID?
<div id=”calendar_wrap” class=”calendar_wrap”><table id=”wp-calendar”>
WHEN THE PLUGIN INSTALLED AND ENABLED, SHOULD I REMOVE FROM THE THEME’S functions.php FILE, THE LINE:
remove_action( ‘wp_head’, ‘rest_output_link_wp_head’, 10 );
hello, anybody home?
In other words:
(1). url to change from
http://www.domain.com/wp-json/
to
http://www.domain.com/json/(2). replace tool in the html code
/wp-json/
to
/json/I need to be able to change the url from
http://www.domain.com/wp-json/%5Bfull_path%5D
to
http://www.domain.com/json/%5Bfull_path%5Dand then to use the replace tool by replacing in the html code
/wp-json/[full_path]
to
/json/[full_path]That line in functions.php removes the first line http:/domain.com/wp-json/
but the following lines are still there:
<link rel=”alternate” type=”application/json+oembed” href=”http://www.domain.com/wp-json/oembed/1.0/embed?url=%5Bpath%5D”/>
<link rel=”alternate” type=”text/xml+oembed” href=”http://www.domain.com/wp-json/oembed/1.0/embed?url= [path];format=xml”/>
-
AuthorPosts