Nagmay
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] “Redirection’s database needs to be updated” after updatingYou rock. Thanks for all the hard work.
Forum: Plugins
In reply to: [Redirection] “Redirection’s database needs to be updated” after updatingJust want to bump: showing the DB update warning to non-admins is an issue.
@redkite,
I just asked John a similar question. Yes, each site will need a DB update. On the admin side, this means visiting each site. To take care of them all at once, install wp-cli and run the following command:wp redirection database upgrade
@johnny5,
In the future, would it be possible to hide all warnings from authors, editor, etc roles? They don’t see nags for core updates – so this was a bit alarming.Forum: Plugins
In reply to: [Redirection] Network/multisite: db update each site individually?That will work – thank you.
Is there documentation for redirection with wp-cpi? Couldn’t find anything on redirection.me, but maybe I missed it.
Forum: Plugins
In reply to: [Redirection] Redirect /test/whatever to /test/Not the creator, but maybe I can help.
/test/.+
will match /test/ with followed by one or more characters:- /test/a
- /test/abc
- /test/a/b/c/
However, it will also match:
- /abc/test/a
To match only urls that start with /test/, try the following:
Source URL
^/test/.+
Target URL/test/
Regex ?- This reply was modified 5 years, 8 months ago by Nagmay.
Forum: Plugins
In reply to: [Simple Preview] Notice in admin on new postsThanks. Should be fixed now.
Forum: Plugins
In reply to: [Simple Preview] Generate links programatically?Not quite sure what you mean. The links are simply based on the post ID:
?page_id=1829&preview=trueThese are the same links that WP uses to let logged in users preview the page.
Forum: Plugins
In reply to: [Simple Preview] Plugin not workingThat said, ?page_id=XXX is a valid link for the normal preview. I will try to update the plugin to accommodate that format. Look for an update soon.
Forum: Plugins
In reply to: [Simple Preview] Plugin not workingAs far as I know the 7.x issues have been resolved.
If you look closely, the link it creates is a bit different then the one you posted. Here is the correct preview link for your page: https://www.lghertzpoetry.com/?p=2764&preview=true
Forum: Plugins
In reply to: [Placemarks] Database ExportOr… I just realized that you can use the default WordPress exporter.
Tools > Export and choose placemarks.This will spit out XML like:
... <wp:postmeta> <wp:meta_key><![CDATA[placemarks-lat]]></wp:meta_key> <wp:meta_value><![CDATA[45.43715546770171]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key><![CDATA[placemarks-lng]]></wp:meta_key> <wp:meta_value><![CDATA[-122.73131936789241]]></wp:meta_value> </wp:postmeta>
Forum: Plugins
In reply to: [Placemarks] Database ExportPlacemarks are a custom post type that utilize a bunch of metadata.
To export you could:
- Get the ID from wp_posts
- Get the data from wp_postmeta where post_id=ID
Each meta_key starts with “placemarks-“. For instance “placemarks-lat”.
Forum: Plugins
In reply to: [Classic Editor] Not tested on 4.9.8?That was quick. Looks like the version compatibility has been updated. Thanks.
Forum: Plugins
In reply to: [Simple Preview] Support for Custom Post TypesExcellent suggestion! Adding this to next release.
Forum: Plugins
In reply to: [Simple Preview] Not PHP 7 CompliantGood catch. I’ll update that in the next release.
Forum: Fixing WordPress
In reply to: WordPress 4.8 editor “Failed to load content css”Just ran into the same error when updating to 4.8
In my case the error also said:
Failed to load content css: https://mydomain.com/wp-content/themes/mytheme/assets/css/editor-style.css
but when I looked at the network errors, the file that was failing to load was:
https://mydomain.com/wp-content/themes/mytheme/assets/css/font.css
This file was being called from editor-style.css via
@import url(../assets/css/font.css);
- This reply was modified 7 years, 5 months ago by Nagmay.
Unfortunatly, there was a error when I uploaded that version, leaving the functions file behind. The error was quickly discovered and corrected. However, you must have attempted to installed during that time.
Please give it another try and let me know.