Solved

Easiest way to protect content on WordPress microsite?

Posted on 2016-09-28
3
85 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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)

732 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