Shortcode in Services Section

Discussion in 'One Page Pro WordPress Theme' started by shaburne, Aug 18, 2016.

  1. shaburne

    shaburne New Member

    Joined:
    Jul 6, 2016
    Messages:
    20
    Likes Received:
    0
    How can I add shortcode to my services section?
     
  2. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    You can use shortcode in homepage-services.php file of the theme..

    And use below code to use shortcode..

    <?php echo do_shortcode('[your shortcode]'); ?>

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. shaburne

    shaburne New Member

    Joined:
    Jul 6, 2016
    Messages:
    20
    Likes Received:
    0
    Where do I put this in the theme?
     
  4. priya

    priya Guest

    Hi,

    Would you please let me know the area where you want to add the shortcode on the site along with your shortcode so that I can assist you accordingly..?

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  5. shaburne

    shaburne New Member

    Joined:
    Jul 6, 2016
    Messages:
    20
    Likes Received:
    0
    I would like to put shortcode in as the "service" title - highlighted in the attached image. [​IMG]
     
  6. priya

    priya Guest

    Hi,

    Please follow the screenshot given below.

    shortcode_service_headings.png

    Shortcode is as follow..
    Code:
    do_shortcode('[your shortcode]');
    For your information, I am using "WP-Editor" plugin to edit files.

    You can also download and use it from the link https://wordpress.org/plugins/wp-editor/.

    After activating this plugin, you will get the same screen as shown in the screenshot.

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  7. shaburne

    shaburne New Member

    Joined:
    Jul 6, 2016
    Messages:
    20
    Likes Received:
    0
    When I do this, i see the attached screenshot:

    upload_2016-9-6_8-16-49.png
     
  8. priya

    priya Guest

    Could you please provide us 'URL' of your site so that we can better assist you?
     
  9. shaburne

    shaburne New Member

    Joined:
    Jul 6, 2016
    Messages:
    20
    Likes Received:
    0
    URL is ProcureForce.co

    I had to remove that shortcode because this is a live site.
     
  10. priya

    priya Guest

    Hello,

    It becomes difficult for me to assist you without having any idea of your plugin..so you are requested to send me your dashboard details at [email protected] along with this thread link as well so that I can figure out the issue and able to resolve that..

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page