Solved

Easiest way to protect content on WordPress microsite?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

763 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