Solved

Easiest way to protect content on WordPress microsite?

Posted on 2016-09-28
3
74 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
ID: 41820883
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
ID: 41821904
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
ID: 41822216
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 Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

765 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