Solved

Service_box Wordpress Code

Posted on 2014-09-17
4
607 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Hi,      I've been learning Spring and Jersey for the past few months and to say in simple, i am pretty much impressed with these frameworks. Many developers feel it awkward to implement a RESTful Web Services with such a popular Web Application Fr…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

632 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