Giter Club home page Giter Club logo

virtual-pages-with-templates's Introduction

Virtual Pages with Templates

This is an initial WordPress plugin for displaying virtual pages which can use a template for selecting the contents.

Warning: This plugin is still in beta

Build Status

Installation

  1. Copy the plugin directory into your wp-content/plugins directory
  2. Navigate to the Plugins dashboard page
  3. Activate this plugin

Recommended Tools

  1. phpbay wordpress plugin
  2. phpzon wordpress plugin

Quick Start / Example

  1. Create a post / page in wordpress
  2. Add contents, may contain text, html and shortcodes (see example content show below)
Welcome to this website please find the products about <strong>%vpt-keyword%</strong> below and if you can’t find your item just use the search box!

[phpbay keywords="%vpt-keyword%" num="8" siteid="1" sortorder="BestMatch" templatename="columns" columns="4"]
  1. save page as draft (note: virtual pages will use pages which are unpublished)
  2. goto Settings > Permalinks - (optional), e.g. /shop/%postname%/
  3. In the admin panel, open - Virtual Page Settings
  4. update to your desired settings.

Menu

  • adding custom menus that will redirect to a virtual page, it will still be done as normal - Appearance > Menu There are two ways with which you can add a virtual page:
  1. Using the links metabox Appearance > Menus > Links. The value in the url field should either be http://, /, or *.
  2. Using Appearance > Menus > Virtual Page, Just add the titles (separated by a new line) and it will add the menu items in bulk to the menu structure.

Contributors

@deanearlbartolabac

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.