The plugin is very helpful and we would appreciate if you help with that issue. Thanks in advance.
]]>I would like to insert a gallery on my website filtered by categories, that works great thanks to your plugin!
But in addition to that I would like to have the option that as soon as you click on one of the images, you are automatically redirected to the page or the post where this image is used.
Now i found a shortcode that at least redirects me to the parent page:
[mla_gallery attachment_category=’test’ mla_link_href='{+site_url+}/?page_id={+parent+}’]
Unfortunately I noticed that almost all of my images are not yet assigned to a parent .. is there a way to automatically fill out the parent field? Or is there any other shortcode I can use for redirecting me to the respective page ?
Would be very grateful for your help!
Regards, Elena
https://blog.domain.com
, and I want to host it underhttps://www.domain.com/blog
.
By modifying the site url
through the Settings Dashboard, the “read” version of the blog is correct, but I can’t edit it anymore.
After inspection of the http requests made, my requests to the REST API are also re-directed to https://www.domain.com/blog/wp-json
.
The issue is that all my authentication cookies are attached to the domain blog.domain.com
, thus making all the requests to the REST API fail in HTTP 403
with the error response:
{
"code": "rest_cookie_invalid_nonce",
"message": "Cookie nonce is invalid",
"data": {
"status": 403
}
}
I have checked that this is the correct symptom by modifying the cookies domain’s to .domain.com
and my HTTP requests are now valid.
What steps can I follow to fix this?
Thanks!
]]>, which in my case results in failure, because the shop is installed in a subfolder and there is anouther wordpress site in the root of the domain
I changed this line to $home_url = get_site_url(); and then it worked. What’s the idea of this wp-json call? I didn’t read completely into it?
Why not just using the site_url for the api call? It should not differ when polylang is enabled or disabled.
]]>.htaccess
on my sites in the wrong location. My setup:Naturally, .htaccess
is in domain.com but the plugin creates/edits it in domain.com/app/
So, looks like a site_url vs home_url issue. Hopefully a quick fix
Thanks!
]]>Fatal error: Call to undefined function site_url() in /home/90/21/3012190/web/wordpress/wp-includes/general-template.php on line 649
In the .php file, lines 648–650 read
case 'wpurl' :
$output = site_url();
break;
Any ideas as to what might have happened in the past week that would suddenly cause this?
]]>Is there anyway i can use “site_url” for custom link on the frontpage?
(in case i change host not to mess all the links)
And if yes, how should i write it down?
For instance. I want to go to the page:
“https://myurl.com/category/surgery/”
Thanks so much
I am hosting a wordpress site on bluehost. I want to run a completely separate wordpress site without any connection to my primary domain.
I added my second domain to bluehost as an addon domain. This created a new directory in public_html and set it up as subdomain.primarydomain.com. I installed wp in this directory and logged in.
I want the domain to appear simply as subdomain.com. I tried changing the site url to https://www.subdomain.com but it loads as a blank page.
Any help would be greatly appreciated. Thanks
]]>