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?
- What is IP address ‘::1’?
- Is there a way to get all IP addresses of youtube to block it with Windows Firewall?
- Tips for using WordPress as a CMS? [closed]
- Implementing a CrunchBase.com Clone using WordPress?
- Style custom columns in admin panels (especially to adjust column cell widths)
- Is there anything that Joomla or Drupal can do that can’t be done in WordPress? [closed]
- Edit “thank you for creating with WordPress” in version 3.3.1
- IP address whitelist to update WordPress core and plugins
- How to prevent a post from being deleted?
- Is there a way I can write a series in WordPress?
- Any way to make posts inherit properties/taxonomies through a single assigned taxonomy
- Relative or dynamic site url possible?
- WordPress as a CMS Membership website
- Different number of posts in each category
- 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
- IP address character limit
- How can I make post fields required in WordPress?
- Creating my own Admin Forms in a WordPress CMS?
- Can WordPress realistically handle a site with 500 ‘pages’?
- How can I use WordPress as a job board ? (but free)
- How do I turn off wordpress comments ability to capture a users ip address?
- Broken CSS after changing the site URL
- Using WordPress as piecemeal in existing site?
- Pods cms and “advanced custom fields” plugin
- Multiple level category drop-down
- Does wordpress have something like content-type?
- Hide update messages from non-admin users?
- How to set ipv6 address as siteurl?
- how do I group content in magazine-style ‘issues’?
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- Sub-directory blog on a sub-domain WordPress network site
- Guidance with The Loop for CMS
- Minor css-change based on topmenu – how?
- WordPress as Backend, Laravel Front End: How to connect Routes?
- Creating a searchable A-Z listing of hundreds of companies/services
- Downsides to not using built-in “Posts” post type?
- Does WP show me if I’m logged in from multiple locations?
- How to access my site using IP Address? [closed]
- How do I create a custom post type for a training CMS in WordPress?
- Is there any reason only 1 (my) IP would be added to this table using $wpdn->insert?
- WordPress CMS – hide content from public while in editing stages
- What is a good way to present templated content in WordPress?
- WordPress plugin for authoring technical documentation? [closed]
- Migrating from other CMS to WP – losing SEO juice?
- Check if a user already voted [closed]
- Search form with Category and Sub Category
- CMS: Making complex pages editable by the end user
- How could I create a ‘private comments’ section on a custom post type?
- Strange problems when I try to insert HTML\XML code snippet in my posts
- Migrating database / content of non-CMS site to WordPress
- WordPress as a data intensive web app
- raw code vs wordpress
- Display posts if specific country
- Is it possible to store visitors IPs in wp_postmeta table?
- WordPress shows registration link for non logged users
- New to CMS – WP functionality. overkill or just right?
- Is it possible to get the currently logged in admin’s IP?
- Allow users to post to a certain category
- Using the “Latest posts” feature on a different site
- Store brute-force IP addresses
- Restricting user login by IP address
- Limit access to wp_admin
- WordPress vs. Custom PHP [closed]
- Plugin for limiting user registration based on ip with expiry period?
- Remove permalink settings in post for users
- Is there a plugin or simple way to add a multiple images metabox to a post?