Today I Learned, WordPress Edition

That if you wrote a post and published it on WordPress using a PC, then opened the WordPress app on your phone and found an empty draft with the same title, which you thought you made earlier (I really did), you shouldn’t immediately delete it to tidy up.

Because even though it was in Drafts, it was the Published post. So I should have forced a refresh (which you think would happen when you opened the app) or been more patient and double-checked before deleting (which I thought I did but in a rush.)

TIP: Did you know WordPress has a Trash bin? Yeah, it’s available in the web browser, right at the top of your list of posts at the end, past Published and Drafts and all that. You can click Trash and select a pot and Restore it or accidentally delete it forever, whichever. AND it doesn’t show up unless there’s something in it, which is why I never noticed it.

So that’s new too!

—–David

P.S. There’s probably a Trash link in the app too, but I’m done with that for today.

 

Today I Learned, WordPress Edition was originally published on Creative Uploads

WordPress WordPress

This will not seem like a rant.

So I originally created a small Creative Uploads site on wordpress.com, creativeuploads.wordpress.com and since I really wanted a fancier hosted site, I created that later when the opportunity arose. That’s at megawatson.com/cu, or now that the subdomain works, cu.megawatson.com. If you are reading this, you are probably at one of them.

creative uploads wordpress mobile app

Use Your Brain!

That’s because I carefully copied over the original site’s posts over to the new one, likely using the offical WordPress Importer, though now I can’t recall.

Then I set up cross-posting on the new self-hosted site (which is much fancier you know) so that it would publish the new posts I write into the original blog, thereby increasing the chance someone could stumble across me, though not always where I want….

And if I decided to slim back down to the WordPress.com site and drop hosting, I don’t lose content, just the setup and add-ons.

The free mobile WordPress app is pretty cool too. I can start, edit, schedule and read posts on it, for both sites. I can start on the computer and finish on the app. Or vice versa. When there’s a feature set that works better in one, I switch between. Or I can upoad camera photos to the media library while watching tv and use them later in a post.

But boy do I hate it when I have switched between sites and don’t go back tot he main site before I create a draft or a post and it gets pushed to the WordPress.com site and not the megawatson.com/cu version, which DOESN’T CROSS-POST AUTOMATICALLY!* Because then I have to manually copy the post and media over, hopefully while it’s a draft or still scheduled.

That doesn’t seem like a rant. More like pointing fingers at myself.

TIP: If you have more than one WordPress.com site on your app, doublecheck that you are creating in the intended site before you start.

—–David

* (and that’s okay, because imagine the redundant loop of never ending cross-posts!)

P.S. Ooh and it doesn’t update my Google+ page Creative Upload page either! No wait, BOTH do if the post is unique. That’s even more annoying! I miss you, Google Plus, you were like a cool party where you could just engage or eavesdrop on cool conversations with potential friends and acquaintances. You aren’t gone, but I don’t see your party flyers around like I used to.

 

WordPress WordPress was originally published on Creative Uploads

Crosspost back to WordPress.com

Today I played with this WordPress Crosspost plugin in an effort to keep my original WordPress.com blog up to date with this self-hosted one.

Configuration was a little strange since you install the plugin (which didn’t show in the Add Plugin search under it’s name; I had to just enter “crosspost” and then it was on the list), but you configure it in your main WP Settings menu, as it gets added as an item.

It wanted a Client ID and Client Secret which were nowhere to be found at WordPress.com. Turns out you have to create an Application for them under the Developer pages. Go there and click App.

I was thinking it needed to start at the WordPress.com page but when I tried to use that address in the link I got a warning that wordpress couldn’t be in the URL. What?! Turns out the redirect URL ends up at my self-hosted site looking down the folder names into wp-admin/options-general.php?page=wp_crosspost_settingsetcetera, and the other URL seems to be selected when you link to it from a pop up menu (since both of these logins are linked through a WordPress account, I can choose which site I am editing, viewing or in this case, cross posting too.)

Once the application was given a somewhat valid url it added the directory info and gave me the Client ID and secret code. That gets input in the Settings>WordPress Crosspost configuration screen, then you save it and it validates.

This took a couple of tries as early attempts returned an invalid redirect error, so I edited the URL in the new app I created to reflect the other site. When I finally had it that menu popped up to let me choose the site to crosspost to.

TIP: Open multiple browser windows so you can easily switch between configuration pages you are adding and copying to, plus one with your support pages for reference.

So then I got cocky and thought it would work even though I still had a RED Warning box telling me to “Click here to connect to WordPress.com”. I hadn’t logged in with the wordpress.com username? The test post failed. Changed the user login and still couldn’t get the red warning to go away.

Thought maybe I had to repeat the Create app process from the CORRECT login. Went to the develop page to sign out and log in as the wordpress.com user, then go back to the develop page (since it takes you to a default WP account page when you log in.)

But the app I had created was there on the list already! So I clicked on manage users and gave permission to the WordPress.com user too. It already had it. After some editing got an error indicating as invalid Client ID. Okay. Created another app and also set type to Native not Web. Tried using the WP.com url first.

“Your redirect URL may not contain WordPress in it.” Changed to self-hosted URL”

Arg. Tried again as new site URL and Web not Native. Copied the long url string for the redirect URL from the one the early app attempt created. Might be created automatically but this way it already had the right string.

However this may have been the subtle creation difference:
I went to my self-hosted WordPress site Settings>Wordpress Crosspost page and refreshed the page.

TIP: Hold Control down while hitting the F5 key or clicking refresh. Do this when you think your browser may be holding on to outdated information or pages (like an old key?)

Then I clicked the Connect button. When the site choice page appeared, I first clicked at bottom to log in as different user (WP.com) and when it came back — even though it still said I was logged in as the other user — I chose the WP.com site and authorized. Eureka!

Once you log in successfully you see the WordPress Crosspost Settings page and can access the rest of the options.

Choose at least one default WordPress site to crosspost to, an option that is highlighted if not already set.

Use the Default blog choice in the top colored box, not the next line (Sync posts from WordPress.com – experimental) That seems to be a way to use the same plugin to send info back to (in my case) your self-hosted blog. One crazy experiment at a time for me!

Set any other preferences and click “Save Changes.”

Post!

So if this post shows up in both spots, then I appear to know what I am doing (which is almost as good as actually knowing what you are doing as long as everything works and you still have all your fingers.)

And if you update your post, it appears to update the crosspost too!

— David.

Useful links:

WordPress Developer pages

Plugin details https://wordpress.org/plugins/wp-crosspost/

Help page https://wordpress.org/plugins/wp-crosspost/installation/

Screenshot walkthrough https://wordpress.org/plugins/wp-crosspost/screenshots/

Obtaining a Client ID https://auth0.com/docs/connections/social/wordpress

https://wordpress.org/support/topic/does-not-connect-to-wordpresscom

Crosspost back to WordPress.com was originally published on Creative Uploads