Sitting Bull
Forum Replies Created
-
Forum: Plugins
In reply to: [Attachments] Problem to get attachments of custom type postMy host did it. I can just forward domain to specific folder through Paralles Confixx panel. Now both domains (site.myserver.com and domain.com) are forwarded to same folder.
I installed WP on site.myserver.com. Than I mapped new domain domain.com to WP location on my server. So I changed in “Settings > General” WordPress Address (URL) and Site Address (URL) (both were site.myserver.com) to new domain (domain.com).
mod_rewrite is running. Post name permalinks works when I use server domain on which WP is installed. But I changed wordpress and site URL to mapped domain. It works but only with default permalinks. There no need .htacces file when default premlainks is used. So maybe there is some problem with this .htacces configuration but I don’t know where..
Forum: Fixing WordPress
In reply to: Site address and post name permalinks (.htaccess?)It works when I set both wordpress URL and site URL to the same domain and I don’t have a problem with open_basedir restriction any more. But there is still problem with post name permalinks (404). It works only with default permalinks.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Turn off multilingual support for custom typesCan I use it for media files too? I tried this:
unset ($types[‘attachment’]);
but it doesn’t work.
Thanks a lot!Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Turn off multilingual support for custom typesThanks a lot!! It works. For creating custom types I use Simple Custom Types.
I use Advanced Custom fields for creating meta boxes. And here is still one problem. I created meta boxes for page templates. Advanced Custom fields have multilingual support too but when I created meta boxes in one language I can see it in diffent language too when I set template for page. This is ok because it’s exactly what I need. I want to see my meta boxes in all languages (maybe better will be to have possibility to set it as “All languages”). The problem is that in lang switcher in top admin bar I have to select All languages or language in which my meta boxes where created. If I select different language my meta boxes just disapear but it still works.
So is there possibility to set Advanced Custom fields nonmultilingual and have them for pages and posts in all languages? Or if not is it possible to see them in pages and posts even the lang switcher is selected to different language as they were created for?
Thanks a lot again!