Announcement

Collapse
No announcement yet.

WordPress Shortcodes

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Reserved...

    Comment


    • #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:	462
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


      • #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


        • #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, 03:58 AM. Reason: More info....

          Comment


          • #6
            Wowww Great

            Comment


            • #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


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

                Comment


                • #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


                  • #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


                    • #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...
                      X