Yes, use a shortcode:
function aslums_first_shortcode( $atts, $content ) {
if ( IS INSIDE NETWORK? CHECK ) {
return 'inside the network'.$content;
}
return 'outside the network'.$content;
}
add_shortcode( 'aslums_shortcode', 'aslums_first_shortcode' );
In your post content:
You are: [aslums_shortcode]
As an aside, could a user outside your network bypass verification if they knew what the URL users inside the network are using? You may want to reconsider how authentication works on your network
Related Posts:
- How do I represent ‘chunks’ of content within WordPress?
- Blog posts on one subdomain, pages on another
- How can I import users into WordPress?
- Stress testing WordPress
- Can I use wordpress for a non-blog site?
- Can I / Should I use WordPress as a CMS for my Flash application
- Using wordpress for a four-page website may be an overkill?
- Searching Only Blog Posts From a WordPress Site’s Main Posts Page?
- WordPress product catalog site [closed]
- What are the advantages of WordPress over other systems?
- Putting main WordPress blog under a different folder name
- Is a complex site possible with WordPress?
- Convert link in WordPress 3.2.1
- WordPress for a business catalog site
- Why are wordpress posts not hierarchical?
- WordPress as a CMS – best way to decouple publishing/front-end
- Updating my wordpress CMS to 4.7 gives me a blank HTML area during the upgrade process
- Content management for static pages
- WordPress in Drupal
- Why does blog page not reveal it’s template?
- Is wordpress truly capable of anything other than blogging? [closed]
- Is wordpress a library with a default GUI?
- Editing Code for CMS *** Fixed – my own stupidity – I appologise and thank everyone for their help [closed]
- Can I manage content of my custom site using wordpress?
- Get Drupal user into WordPress
- How do I add open graph tags? [closed]
- Can’t access Dashboard after WordPress 3.3 Update?
- Heterogeneous content on a page
- Multiple editable content on page
- Set a WordPress website’s language without affecting the back-end
- Can WordPress used as a CMS? [closed]
- Why is it not possible to fake an IP address?
- Implementing a CrunchBase.com Clone using WordPress?
- Style custom columns in admin panels (especially to adjust column cell widths)
- WordPress as a CMS Membership website
- Strategy for handling hierarchical pages with empty parent content
- How to Use WordPress as Static CMS Without Blog Posts
- Limiting sessions to one IP at a time
- How can I make post fields required in WordPress?
- Creating my own Admin Forms in a WordPress CMS?
- How do I turn off wordpress comments ability to capture a users ip address?
- Broken CSS after changing the site URL
- Pods cms and “advanced custom fields” plugin
- Multiple level category drop-down
- Hide update messages from non-admin users?
- how do I group content in magazine-style ‘issues’?
- WordPress as Backend, Laravel Front End: How to connect Routes?
- Does WP show me if I’m logged in from multiple locations?
- What is a good way to present templated content in WordPress?
- CMS: Making complex pages editable by the end user
- Strange problems when I try to insert HTML\XML code snippet in my posts
- WordPress as a data intensive web app
- WordPress shows registration link for non logged users
- New to CMS – WP functionality. overkill or just right?
- Allow users to post to a certain category
- WordPress vs. Custom PHP [closed]
- Is there a plugin or simple way to add a multiple images metabox to a post?
- Hide comments column in WordPress backend
- How do I test my localhost WordPress project with VirtualBoxVM?
- How do I get blog posts to appear within CMS?
- Restricting access to a single MultiSite site based on IP — possible?
- Advanced templating / WordPress as a CMS questions
- Blacklist IP After Using WordPress Plugin Detector?
- How to import a Typo3 database to a wordpress site?
- Multi-page posts: A subdirectory for each post?
- Custom posts type for individual pages?
- Block IP Addresses using Code [closed]
- Pods CMS: How to add custom column to Adnvanced Content Type
- WordPress Book Exchange Plugin Equivalent?
- 403 forbidden when changing settings on WP Multisite non-main sites
- Editing mysql tables/database with wordpress or other app/cms
- redirect to a child theme based on the town of Internet users in france with the verification of the ip address
- Add a mature content warning to first-time visitors
- Can WordPress handle following functionalities?
- Limit action in comment according to IP
- How do you create a re-useable HTML fragment in wordpress
- wp_nav_menu with WP as pure CMS
- how to move another machine or server without dealing with IP
- In WordPress, how do you make several different editors for a single page?
- Access web server in local LAN using domain name instead of IP
- WordPress in AWS Lightsail – restrict public IP
- Automatically switch language based on visitor’s country
- How to Create a Learning Management Plugin in WordPress to Manage Courses [LMS]
- Changable favicon
- block IP wordrpess for the next X minutes
- Accessing WP multisite via IP instead of domain
- WordPress redirect users from certain countries to subpage of language version
- Using a page-template to restrict access based on IP (Frontend)
- PressPi (WordPress) Broken Layout
- Combining fancybox with multiple thumbnail plugin
- Arrange Category post manually when displayed
- Changing the site URL
- Is there a good way to use CMS images with CSS
- CRM and newsletter integration? [closed]
- How can I make my website with wordpress having on-spot editing feature as compared to concrete5 CMS?
- What’s the difference between IP address 0.0.0.0 and 127.0.0.1?
- What is the difference between Unix sockets and TCP/IP sockets?
- What is this IP address: 169.254.169.254?
- How to determine the hostname from an IP address in a Windows network?
- What is “anycast” and how is it helpful?