Adding Additional Buttons

Question:

How can I add additional Buttons?

 

Answer:

1) Use an FTP Client or File manager to access your WordPress install on your hosting server

2) Access the “Frontpage.php” file in the Mobile Layouts folder.

Typical Filepath: yourdomain/wp-content/themes/smallbiz/layouts/mobile

3) Open the “frontpage.php” file in a text editor of choice (Notepad++ for PC or TextWrangler for Mac

4) Locate the Map code. (See screenshot below) and rename the button from “Directions” to whatever you want.

5) To add 2 additional buttons add the following under the closing div of tab area small warp (line 52 in the screenshot)

<div class=”tab-area-small-wrap”>

<div class=”tab-area-small” style=”background-color: #<?php echo biz_option(‘smallbiz_mobile-button-color’)?>;”>

<p><a href=”your-url-or-link-here”>Button 3</a></p>

</div>

<div class=”tab-area-small” style=”background-color: #<?php echo biz_option(‘smallbiz_mobile-button-color’)?>;”>

<p><a href=”your-url-or-link-here”>Button 4</a></p>

</div>

</div>

back to topics list