mateuszx3
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
If not work set only search_term and tell me what is your search engine it is from theme or from Google
It’s no matter
When I do something in this file or another in editor it’s inactive too but work’ s it not try by ftpno problem 🙂 set solved
I find the isuue ! 🙂
You must go to plugins->editor -> WordPress SEO ->
find wordpress-seo/fronted/class-json-ld.phpAnd you must to add /true to schema.org
public function website() { $this->data = array( '@context' => 'http://schema.org', '@type' => 'WebSite', 'url' => $this->get_home_url(), 'name' => $this->get_website_name(), );public function website() { $this->data = array( '@context' => 'http://schema.org/true', '@type' => 'WebSite', 'url' => $this->get_home_url(), 'name' => $this->get_website_name(), );If doesn’t work
{search_term_string} must be the same in ‘query-input’ and in ?s=$search_url = apply_filters( 'wpseo_json_ld_search_url', $this->get_home_url() . '?s={search_term_string}' ); $this->data['potentialAction'] = array( '@type' => 'SearchAction', 'target' => $search_url, 'query-input' => 'required name=search_term_string', ); } }Sorry if something was incomprehensible, becouse I’m from Poland
Viewing 4 replies - 1 through 4 (of 4 total)