Page Rules are used to define rules for hiding, appending and replacing content for pages based on the selected logical rule. Below are the page rule feature.
Pages or Menu hiding:
- User Profile : Hide pages or Menus using User Id, User Role, Email Id and Guest User.
- Geolocation : Hide pages or Menus using Geolocation like Continent, Country, Region and City.
- Date and Time : Hide Pages using date and time, Month, year, day.
- Page by Request URL: Hide Pages using request URL.
- Soft Page and Menu Hide: Pages are hidden logically but are accessible using direct URL.
- We can control page like never before, define unlimited rules to hide pages and menus.
Append dynamic content to Pages:
Content can be appended dynamically using rules like (User Profile, Geo-location, Date and Time etc.)
- Append dynamic content to the top/bottom of the page, we can also include html tags in dynamic content, more one the supported tags.
- Append dynamic image of different sizes to the top/bottom of the page.
- Append dynamic content with image background.
- Append dynamic content at any location using generated “Shortcode“.
- Show dynamic modal dialog with dynamic content.
- Show dynamic image as modal dialog.
- Show modal dialog with dynamic content and image background.
- Generate Shortcode : This plugin has an unique feature of generating the short code dynamically. This feature is very helpful if you would like to control page content dynamically using short code.
- Controlling Third-Party Shortcode : Control Third-Party shortcodes using dynamically. This feature is very useful if you would do not like render the Third-Party shortcode on some pages.
- Redirect URL : Support Redirect URL for pages that are hidden.
- Exclude from Search : Excludes hidden pages from search.
- Replace page content : Replaces complete page content.
- Activate or Deactivate page rule.
Leveraging logical rules:
Page rules leverages logical rules, it mean we can use the logical rules for defining page rules. Below are the few real time use case of leveraging the logical rules for page rules.
- Pages by Role: You might be having a common use case of hiding some pages for a specific role in such case define a logical rule using “User Role” criteria and use it in page rule.
- Hide Pages from Guest User : One more common common use case of hiding some pages from Guest user(Not logged in User) and these pages should be available for logged in user, in such cases define a rule using “User Profile” criteria.
- Simple Ad Manager: Page rule defined with images will act like a simple Ad manager. Using Page rule we can use an Ad image with a logical rule defined with Date/Page/Geographic location etc to show image Ad on respective Pages.
- Pages by Date and Time: There might be situation where you might be interested in showing special pages like “New Year” or “Christmas” or “Year End Sales” discounts page and these page should be available for only few days or months, in such cases define a Logical rule using “Date and Time” criteria.
You can use Date, Time, Day of Week and Month sub criteria to further refine the rule.
- Pages by Geo Location (Continent, Country, City and Region): If you want to hide or append information for request which are coming from a specific geographic location country or continent then define a logical rule using “Geo Location” Criteria.
- Show Greetings or Important messages: If you want to show some greetings or important message such as new year wishes or festival wishes using the modal dialog. In such cases create a logical rule with “Date and Time” Criteria in Page Rule select Action as “Append Image to Page / Append content to Page / Append content with image background”. Location can be selected a popup message or inline message. See demos for more information.
Using rules engine we can define lot more simple and complex rules
Simple User Cases:
- Pages by User Id.
- Pages by Request URL.
- Pages by Date, Time, Month and Day of the week.
- Pages by Tablet.
- Pages by Mobile.
- Pages by Country, City and Region.
- Page by device iphone, blackberry and more…
Complex Use Cases :
Define complex rule using logical “and” “or” and “brackets”
- Pages by User Role and Date and Time
- Pages by User Role and Geo location
- Pages by User Role, Geo location and Date and Time
- Pages by User Role, Geo location, Device and Date and Time
- Pages by User Role, Geo location, Device or Request URL and Date and Time and More …
“It’s the beauty of rules engine by which we can define more and more complex rule without coding.”