Solved

Service_box Wordpress Code

Posted on 2014-09-17
4
584 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't find PHP files on account that has WordPress 3 46
Two wordpress questions 3 75
Open iframe using jquery dialog box 13 64
looking for wordpress theme 3 24
WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

685 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