Posted on

WordPress Password Protected Content Not Working

Jetpack

One of my sites had problems displaying password protected content this morning.    The site worked fine, but after supplying the password on the protected content the content area was blank.   It turns out JetPack plus some missing PHP modules on my Linux server were the culprit.

How did I find the issue?

WordPress debugging.    This is usually my first stop when trying to isolate a WordPress problem.    Go to the root install of your WordPress site and edit the wp-config.php file.   Look for the line:

define('WP_DEBUG', false);

Change it:

define('WP_DEBUG',true);

 

While you are in there turn this on as well.   This will allow you to quickly turn this feature on-and-off and then investigate the debug.log file in the wp-content directory.  You don’t want to leave debug mode on with a site that visitors are accessing.

define('WP_DEBUG_LOG',true);

When I make these edits I prefer to copy both lines and set one of them to false while leaving the other true, then comment out the pair of lines I am not using.   That makes it easy for me to go in and turn debugging on/off by swapping the leading comment (#) marker.

Now go to the offending page on  your site.     You should have the errors logging to the ./wp-content/debug.log file which will give you some hints.

JetPack Needs

In order to properly render protected content JetPack uses the XML Dom Document processor.    Make sure you have installed php-xml on your server.

The other package JetPack uses heavily is multibyte string support.   Make sure you have php-mbstring installed.

On Red Hat flavored Linux variants you can get everything in order by using these commands:

yum install php-xml
yum install php-mbstring
service httpd restart

Make sure you execute the restart on the web server so the PHP modules are loaded properly.

 

This may not fix the issue on your server, but the debugging and module searches may help some of you.

Good luck.

 

 

 

 

Posted on

Using JetPack + WordPress for Social Media Marketing

Jetpack

Here is a 5-minute video I put together for the people that have been asking me about WordPress and social media.   I use Jetpack to publish my blog posts on Facebook, Twitter, Linked In, and Tumblr.   It is very easy to setup and takes about 5 minutes to get going, assuming you already have accounts with at least one of those services.

Jetpack allows you to publish to any or all of the media services on a per-post basis.   Thus you can keep your social media accounts connected and still control what people are seeing on which services.    You can also attach multiple accounts for those posts that might be in both the business and personal camps or are cross-category posts for those of you who maintain multiple social media accounts.

Since I was working on an update to the Charleston Beach Volleyball and Social Club site, I thought this was a great time to shoot a quick video.

I apologize in advance for the horrible audio.  This new bluetooth headset is horrible at noise reduction and the microphone pics up EVERYTHING.   Great for silent environments but not when it is 98-degrees out and you have the fan going in the background to counter the under-performing air conditioning!

Posted on

Hashtags In Titles?

Jetpack Publicize Banner

If you’ve been following my blog you’ve notice that I’ve recently started putting hashtags in parenthesis in my post titles.    Why they heck would I clutter up my post titles with that bit of ugly?  The simple answer is that I am using Jetpack to help “socialize” my blog on Charleston Software Asssociates.

Jetpack will automatically publish your WordPress blog posts to Facebook, Linked In, Twitter, and Tumblr.    It is a great way to keep followers at those social network sites updated on what is going on without  having to login and post at each site.  Jetpack takes care of that for you.   I also like the fact that it keeps my blog posts in sync with my social media.  Less work and a consistent message.   A winner.

CSA Posts On FaceBook
CSA Posts On FaceBook

It also turns out that I’ve been seeing a lot more posts on Facebook lately with the hashtags listed.    They are now automatically hot-linked to a summary of any-and-all posts made by other people that referenced the same hashtag.   Yes, this can lead to a lot of garbage posts in the hashtag thread.   However there is a lot of good content in there as well and it makes for a great tool to discover new things.    Like other people you’ve never met discovering the blog posts you just wrote.

WordPress Hashtag on FaceBook
WordPress Hashtag on FaceBook

So how do you get hashtags in your auto-generated Jetpack listings at Facebook and Twitter?   Easy.  Put a typical #<tag> hashtag reference in your page title.    Sorry, Linked In is a bit behind the curve here… no direct hashtag support there. Yet.

I made the mistake on my first couple of test posts.  I used hashtags directly in the title itself.   Works great, but it clutters my blog directory and listings.  It also looks ugly.     Turns out Jetpack has a “Custom Message” setting that hides, somewhat discretely, over in the “Publicize” section of the Publish panel.

Expand the Custom Message and it should show your initial title that you entered when creating the post.    Add your hashtags there and, I am making a big assumption here, it will publish the message that you entered there as the content on the Facebook and Twitter sites along with a link to the original article with a hashtag-less title.   The best of both worlds.

Not using WordPress and Jetpack to manage your blog and social media yet?  You may want to check it out.   WordPress is a juggernaut that will be hard to stop in the online publishing space.

Posted on

Facebook Followers – What You Missed..

Jetpack

For those of you following the latest CSA news via my Facebook page, a glitch in the connection between JetPack and Facebook prevented the news over the past few weeks from being posted.

Here is what you missed…

04

JUN

New Icon Pack : Maki Simple Icons

By  • June 4, 2013 • blogPluginsWordPress • Leave a comment { Edit }

I stumbled across a set of open source icons that will make a good base set for map markers. I may use these on custom projects by combining them with bubble style pins to create a multitude of custom color map markers. In the meantime I’ve created a simple icon set you can add to […]

04
JUN

Daily Update : Woocommerce Plugins + SLP Updates

By  • June 4, 2013 • blogPluginsWordPress • Leave a comment { Edit }

It has been a crazy couple of weeks between multiple coding projects, private consults, and the school year-end mayhem on the home front.   Here is what I’ve been working on when I’ve found some free coding time. Woocommerce Premium Plugin System My primary focus has been on this project. Work continues on my WooCommerce add-on […]

04
JUN

Store Locator Plus 3.11.4 Released

By  • June 4, 2013 • blogPluginsWordPress • Leave a comment { Edit }

Store Locator Plus 3.11.4 was released today. The primary patch in this release is getting the Store Locator Plus themes working again.    The other patches are minor tweaks that further reduce the memory footprint when the plugin is running.  The Store Locator Plus plugin themes were moved from the Pro Pack into the base plugin […]

03
JUN

Store Locator Plus 3.11.3 / Pro Pack 3.11.2

By  • June 3, 2013 • blogPluginsWordPress • Leave a comment { Edit }

Store Locator Plus 3.11.3 and Store Locator Plus Pro Pack 3.11.2 were released today. Store Locator Plus Version 3.11.3 Enhancement: Remove some defunct code and scripts. Fix: Editing locations on page 2+ on manage locations was restarting at first page. Pro Pack Version 3.11.2 Enhancement: Update i18n/l10n language constants for better language file support. Enhancement: […]

31
MAY

PlugIntelligence Updated

By  • May 31, 2013 • blogPluginsWordPress • Leave a comment { Edit }

PlugIntelligence was updated to version 0.3 to add an easy on/off switch for the WordPress plugin filter system.     Prior versions required you to disable the plugin if you wanted to disable the plugin listing filters implemented by PlugIntelligence. About PlugIntelligence After years of searching through thousands of WordPress plugins, trying to sort out the […]

30
MAY

Wall of Shame : Point Immatriculation, Saisson France

By  • May 30, 2013 • blogPayment Processing • Leave a comment { Edit }

Sadly I have another addition to make to my customer “Wall of Shame”. Newest Wall of Shame Addition Point Immatriculation Marteau claims that their PayPal account, which is still active, was used fraudulently and that the purchases they made at CSA were not authorized. Interesting that they claim fraud yet their site is using Store […]

29
MAY

WooCommerce Downloads Dev Cheat Sheet

By  • May 29, 2013 • blogPluginsWordPress • Leave a comment { Edit }

While writing my WooCommerce Premium Plugin System (Woops) I was having issues finding simple documentation on the hooks and filters I needed to build my plugin.  This is where I’ve stored my “working papers”.  The cheat sheet and notes about the stuff I need to remember or want to track while building the plugin.   […]

28
MAY

Daily Update : Store Locator Plus 3.11.3 / Pro Pack 3.11.2 Betas

By  • May 28, 2013 • blogPluginsWordPress • Leave a comment { Edit }

The beta versions of Store Locator Plus and Pro Pack have been released to the beta testing community.    If you want to get a copy of pre-release software for testing you need to sign up for the Beta Test Mailing List.    The anticipated release date, assuming testing goes well, is next Monday, June […]

27
MAY

Daily Update : Store Locator Plus 3.11.2

By  • May 27, 2013 • blogPluginsWordPress • Leave a comment { Edit }

Store Locator Plus 3.11.2 Store Locator Plus 3.11.2 was released today with a minor patch and a new feature. Default CSS The default css was updated to add more specific rules to help the layout work with more WordPress themes. Initial Radius The SLPLUS shortcode was updated to add an “initial_radius” option.   You can […]

What is JetPack?

JetPack is a plugin from one of the core contributors to WordPress, Automattic, that provides a myriad of free and premium add-on options to WordPress.    In addition to the great VaultPress backup system (premium) it also provides some great social media tools including automated publishing of posts summaries to Facebook, Twitter, Linked In, and Tumblr as well as the share and like icons you see on many sites.
Unfortunately sometimes things go wrong and somehow JetPack or Facebook (more likely) forgot about the link between my blog and CSA page on Facebook.    Hopefully it stays fixed for a while.
Posted on

WordPress Visitor Stats with Jetpack

I continually play with technology, learning new things as I go.  It helps me keep up with current technology trends while improving my site and my services.   Sometimes I follow paths that are dead ends.  Other times I find hidden gems.   Last month I found a gem while debugging plugin issues posted in the support forums.     Jetpack by Automattic, the driving force behind WordPress.    Jetpack has a lot of very cool features to enhance your WordPress site functionality, market reach, and your insight into what is going on.

Today I discovered that with a simple click of a button on the JetPack admin panel you can turn on site stats.  Not only can you enable a quick visitor graph on the dashboard, but there is a detail summary available via a hyperlink on the Jetpack dashboard that will show you Google Analytics-like reports about who visited your site, where they are from, referral points, and more.  While it is not as sophisticated as Google Analytics, for most site administrators the information presented is all that is needed.   Given the “click one button and you’re done” installation, this is a GREAT solution for WordPress site admins to track stats.     It also means one less third party site & service to chase down when you want to pull reports.

Once again the folks at Automattic pull off a winner and once again I find more things I want to emulate in my own plugins.   Good job guys, good job!

Here is an example detailed stats page from my site:

 

WordPress Jetpack Stats Example
WordPress Jetpack Stats Example