Tom
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Warning: Illegal string offset 'taxonomy' error!hahaha! You’ve made my day guermica1984! Honestly!
Don’t forget your backup ?? Good luck.
Forum: Plugins
In reply to: [Polylang] Warning: Illegal string offset 'taxonomy' error!Forum: Plugins
In reply to: [Polylang] Warning: Illegal string offset 'taxonomy' error!It IS that easy.. T_STRING errors are mostly caused by misspelling.
Read thisForum: Plugins
In reply to: [Polylang] Warning: Illegal string offset 'taxonomy' error!@guermica1984
If it looks likedefine('WP_DEBUG', 'false');
it is wrong.. it should look like
define('WP_DEBUG', false);
Forum: Plugins
In reply to: [Polylang] Warning: Illegal string offset 'taxonomy' error!The good rule of thumb is to make backup of your wp-config.php file before you edit it so you can always revert your changes. But this is for the future.
You probably removed some delimiter, accidentally deleted something.
It can be a lot of things i.e.
– lack of ; at the end of line (except comments)
– missing closing or opening ‘
– missing / in /* or */or any other character you deleted accidentally.
Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Upload issuesThank you HeartofKronos, I’ll check it out.. who knows.. ??
Forum: Plugins
In reply to: [Redirection] change all permalinksGood luck Elena ??
Forum: Plugins
In reply to: [Redirection] change all permalinksYou can do it more strict way
from: /\d+/(.*)
to: /$1
Difference is in additional slashes.
This way you have all links like /2012/post-name filtered but not /1785-year-of-somethingIt could be useful in case someone creates a post name starting with numbers.
Forum: Plugins
In reply to: [Redirection] change all permalinksFollow this:
from: field insert /\d+(.*)
to: field insert $1There was one character (\) missing which I’ve corrected.
It will strip all numbers from the beginning and preserve the rest.
Forum: Plugins
In reply to: [Redirection] change all permalinksHi Elena,
The easiest way.
– go to Tools -> Redirections
– scroll down to the very bottom
– you’ll see “Add new redirection” section
– in “Source URL:” field insert “/\d+(.*)” (without quotation marks)
– in “Target URL:” field insert “$1” (also without quotation marks)
– tick Regex box
– press “Add Redirection” buttonand done!
Forum: Plugins
In reply to: [Redirection] how to redirect huge number of links?Hi sahityah,
I don’t think it is possible at all when you want to use .htaccess
Compare two patterns.
With /%category%/%postname%/ you have links like
/category-name/first-post-title/
/category-name/another-post-title/
…
/another-category-name/other-post-title/
…With /%post_id%/ you can have
/2346
/7610
…
/9823
…respectively for the same posts (assuming numbers are posts id’s)
There is no way to use .htaccess rules and translate name into matching number if you do not have access to database (and you don’t in .htaccess).
Maybe there is some plugin dealing with this kind of problem?Forum: Themes and Templates
In reply to: [Nirvana] Responsive image (size) in Header widgets area@thezedt
Thank you, it works!
I haven’t realized I can use * as HTML tag ??I placed following in my style.css
/* responsive header widget area */ #header-widget-area * { display: inline; max-height: 90%; } #header-widget-area p { margin-left: 30%; }
and it works for all sizes except smallest one (for smartphones) but I believe I can work it out ??
You can check it out here Tai Chi Poznan
Forum: Plugins
In reply to: [Redirection] Tons of /images?/resize.png and images?/favicon.icoBest way – upload missing images to your site.
Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Upload issues@webitman
Photocrati-men don’t like two people asking questions in one thread. I went through it before here ??Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Upload issues@cais
I agree with you. I doubt it is really possible to change memory limit yourself on shared hosting. If it was possible, everybody could do it and steal all memory for himself. It would be a nightmare for admins!