WordPress Shortcodes

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • clivejo
    Spam Annihilator
    • Jun 2005
    • 1708
    • To ERR is human, to really mess things up use a computer.

      Proud supporter of the coupons for doneritehosting campaign!

    #1

    WordPress Shortcodes

    [rp_plans type="shared" best="1"]

    This shortcode displays a table of information about a particular plan. The type can be shared, vps_virtuozzo, vps_openvz, semi_dedicated, dedicated. The best plan highlights which ever plan you consider to be the best value. You will need to know the plan code which you can find from your RSP Control Panel, in the example is the plan ID for OVZ01.

    [rp_order_form]

    Inserts the remote order form from duoservers into a Wordpress page.
  • clivejo
    Spam Annihilator
    • Jun 2005
    • 1708
    • To ERR is human, to really mess things up use a computer.

      Proud supporter of the coupons for doneritehosting campaign!

    #2
    Reserved...

    Comment

    • El Jaguar
      Junior Member
      • Nov 2014
      • 7

      #3
      This thread is a great idea clivejo!

      Here's a simple one.

      [domain_names_sole_banner tld="com"]
      Click image for larger version

Name:	Screen Shot 2014-11-26 at 01.56.51.png
Views:	752
Size:	43.8 KB
ID:	59363

      Inserts this banner in the page. As you see, you can change the TLD value to something else.

      Comment

      • El Jaguar
        Junior Member
        • Nov 2014
        • 7

        #4
        Originally posted by clivejo View Post
        [rp_plans type="shared" best="1"]

        This shortcode displays a table of information about a particular plan. The type can be shared, vps_virtuozzo, vps_openvz, semi_dedicated, dedicated. The best plan highlights which ever plan you consider to be the best value. You will need to know the plan code which you can find from your RSP Control Panel, in the example is the plan ID for OVZ01.

        [rp_order_form]

        Inserts the remote order form from duoservers into a Wordpress page.
        I just didn't understand where to enter the plan code in this shortcode.

        Comment

        • doneritehosting
          Hosting expert
          • Dec 2004
          • 1369

          #5
          Ok to chime in..... On your app hosting pages.... Lets Take wordpress for example, the promotional banner.

          The shortcode [script_hosting_banner type="wordpress" ] will display your cheapest plan for wordpress in the promotional banner....

          Adding The variable plan="***x", [script_hosting_banner type="wordpress" plan="4308"] for example, will give you control over the plan you promote with wordpress, any plan you want.. shared, vps, semidedicated, dedicated... The same goes for all app pages

          Oh.... when you edit a page on a wordpress reseller site All of your available activated plans with ID#'s are displayed in the right column
          Last edited by doneritehosting; 26-11-2014, 02:58 AM. Reason: More info....

          Comment

          • azeem1563
            Junior Member
            • Sep 2015
            • 1

            #6
            Wowww Great

            Comment

            • vrepub
              Senior Member
              • Feb 2016
              • 114

              #7
              Great thread.

              Just an FYI, you can pull up the resellerspanel.php file from the RSP plugin and search for "add_shortcode" in that file and you will come up with a whole bunch of shortcodes. 39 to be exact. However, some of them don't seem to work, but most do.

              Comment

              • bandzy
                Junior Member
                • Nov 2013
                • 46

                #8
                Is there a shortcode to display price for one hosting plan.

                Comment

                • doneritehosting
                  Hosting expert
                  • Dec 2004
                  • 1369

                  #9
                  Bandzy,
                  ​I do not know a direct shortcode to do what you want but a work around might be to use the code that shows the plans on the home page.. you can specify the number of plans shown by how many plan Id's you include....
                  I haven't tried that yet so post back if it works out

                  Comment

                  • bandzy
                    Junior Member
                    • Nov 2013
                    • 46

                    #10
                    Its been long after I ask question but here is what you get when you put shortcode:
                    [home_plan_boxes variant="easy_flow" plans="50368" button='<button class="rpwp-button colorize"><span class="gloss"></span>Order Now</button>']
                    Single box plan

                    Little bit messy but that is it.
                    I'm looking at plugin but can't understand how to make shortcode eg. [dispaly_price plan="50368"]
                    like Shortcode we have for min price [rp_min_price type='vps_openvz']

                    Comment

                    • vrepub
                      Senior Member
                      • Feb 2016
                      • 114

                      #11
                      All the shortcodes that are available are listed in the resellerspanel.php file in the RP plugin folder. Just download it, open it with notepad or whichever other program you use to edit php files and do a search for add_shortcode and you'll find 39 different shortcodes.

                      Unfortunately, there is no shortcode to display the price of a specific plan. However you could achieve this by writing a block of php code then use a plugin like Shortcoder to make a shortcode for it. But you would have to write a separate block of code for each price. So each price would have to have it's own shortcode.

                      Comment

                      Working...