Solved

Service_box Wordpress Code

Posted on 2014-09-17
4
562 Views
Last Modified: 2014-09-30
I'm working on a wordpress template and trying to understand a segment of code found within a page (in this case, the home page).

This is the code:

[service_box title="Put Your Title Text Here" icon="icon2" text="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa."  btn_text="Read more" btn_link="http://livedemo00.template-help.com/wordpress_45175/html5/mauris-posuere/" btn_size="large" target="_self" custom_class="color-2"]

Open in new window


Looking through a number of Wordpress Templates, I see this kind of code, but I'm not sure what it is called, so I'm not even sure how to search for more information on it.  

In this case, I'm looking for a way to replace icon="icon2" with an image instead of the icon.  

Any insight that you can offer would be greatly appreciated.
0
Comment
Question by:Azra Lyndsey
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 300 total points
ID: 40329152
So the code above is a WordPress shortcode and you'll want to start your education here:

http://codex.wordpress.org/Shortcode_API

Somewhere in your theme files (start with functions.php) the shortcode is declared like the samples in the link above.  Once you find that, and assuming you have some basic PHP ability, changing or expanding that icon parameter should be pretty easy.
0
 
LVL 8

Assisted Solution

by:Sam Cohen
Sam Cohen earned 200 total points
ID: 40331905
This seems to be a shortcode from your template or plugin.
If you go in your editor section of a page or post, there might be a button called service box that gives you all selections type (e.g icons) then once you submit, it will add your about shortcode into your editor, filled out based on your selections
0
 
LVL 8

Assisted Solution

by:Sam Cohen
Sam Cohen earned 200 total points
ID: 40331909
Here you go!
This is the documentation to explain what i just said:
http://www.cherryframework.com/documentation/index_en.html

Just scroll down to or search for Service Box
0
 
LVL 1

Author Closing Comment

by:Azra Lyndsey
ID: 40352099
This is exactly what I needed to know, thank you, everybody.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi,    When I first started to learn Hibernate I found it pretty easy, but integrating it with Spring took me around 2 weeks. Not pretty cool. So I came up with the idea of writing this article which guides you simply towards the integration. NO…
Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question