Solved

Service_box Wordpress Code

Posted on 2014-09-17
4
531 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
This is exactly what I needed to know, thank you, everybody.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
The purpose of this video is to demonstrate how to Import and export files in WordPress. 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 : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now