Solved

Easiest way to protect content on WordPress microsite?

Posted on 2016-09-28
3
62 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

930 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

12 Experts available now in Live!

Get 1:1 Help Now