Solved

Easiest way to protect content on WordPress microsite?

Posted on 2016-09-28
3
52 Views
Last Modified: 2016-09-30
We engaged a web developer who built a microsite for us. We are in finishing stages and when I tried to touch up content on site via \wpadmin it seemed changes didn't appear. The developer explained on protected content pages (we have some locked collateral links at bottom) that I would have to modify in 2 places.

It seems kind of crude (spoken by a non-developer) to me and wondered if this is standard or if there is an easier way to provide locked content experience but not have to make page adjustments in 2 different areas.

I attached a screenshot as he explained that they are using the custom field screen option to override the visual editor. Surely there is a more elegant way.
0
Comment
Question by:smeek
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
No screenshot attached, but there probably are much better ways to protect the content.

Can you explain what are you trying to protect?
0
 
LVL 8

Author Comment

by:smeek
Comment Utility
Have some PDFs that we want to stage at bottom of page with summary list of content. If users login in, PDFs become available for download.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
Okay.  The "simpler" way to do this would have been to use a plugin that allows you to insert text for logged-in users such as this one:

https://wordpress.org/plugins/private-content/

and disable the custom fields and extra coding that substitutes the text. The issue you may have is disabling things may actually be more difficult at this point than not.

The way the plugin works is that you would use two shortcodes (or more) on each page with member-only content.  The first shortcode controls the logged-out view, the second the logged-in view.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now