Category: Wordpress

Erin and Kelly Sell Sonoma IDX Wordpress Website Design

ErinAndKellySellSomoma.com IDX WordPress Real Estate Web Design

Congratulations to http://www.erinandkellysellsonoma.com for allowing After Dark Grafx to design and develop your new website with IDX real estate MLS integration for your WordPress Website.

We know there are a lot of Real Estate Website Design Companies out there to choose from, so we appreciate you having the confidence in After Dark Grafx for your online brand development.

A little bit about ErinAndKellySellSonoma.com

Erin Davis and Kelly Stober have been real estate business partners in Sonoma for 29 years. The partnership of Erin and Kelly was successful from the beginning, and together, the team is one of the most recognized real estate partnerships in the area.

Their extensive experience and knowledge has enabled the team to give guidance to many of the questions potential buyers and sellers have about the market. They are consistently ranked among the top agents in the company and have accomplished this by being involved in almost every aspect of real estate sales in the Sonoma area — from condominiums and single family homes to vineyard and country properties, business opportunities, commercial restaurants, and minor subdivision development sales.

Visit http://www.erinandkellysellsonoma.com today and tell them James, from After Dark Grafx sent you!

Website Design Wordpress Developer After Dark Grafx Ingredient Hub

Ingredient-Hub.com Website Design

Welcome, Ingredient-hub.com to the After Dark Grafx Family!

Ingredient-hub.com, Desirée Nelson, is a Consultant, Broker, Tea Expert Your Trusted Tea & Botanical Sourcing Partner

INGREDIENT HUB, Build a Blend – International Tea Importers

Visit them today and tell them After Dark Grafx sent you!

“I like working with James and his team, that is why I have had them do two websites for me. The insight, recommendations and basic ‘no-bs’ answers to my questions has helped me to focus and be successful! Thank you” – D

Wordpress Design Development by After Dark Grafx - DesertStretchDoc Dr Jenni Martin

RanchoMurietaStretchDoc.com WordPress Website Design

Welcome ranchomurietastretchDoc.com to the After Dark Grafx family. We had the pleasure of designing and developing this new WordPress Chiropractic Website for Dr. Jenni Martin, Rancho Murieta.

Dr. Jenni Martin, A chiropractic orthopedist for over 30 years, uses ART(Active Release Technique). FST(Fascial Stretching Therapy), and COX (Flexion stretching table) to treat the active, mature adult. She finds the combination of fascial muscle therapy, specialized COX lower back technique, and selective exercises and stretches, create the best and fastest positive results.

  • Board Certified Chiropractic Orthopedist
  • LPGA Class A Teaching Professional
  • Full Body Certified ART (Active Release Technique)
  • Advanced Trained FST (Fascial Stretching Therapy)
  • Treating Patients for over 30 years
  • Specializes in Stretching Techniques to reduce lower back pain, should pain relief and neck pain relief from golfing and equestrians.

Currently Servicing: Rancho Murieta, Folsom and Eldorado Hills

Visit: ranchomurietastretchDoc.com Click Here

Search Engine Optimization San Diego

Use PHP in Widgets Without a Plugin WordPress

There are times when you are working on your WordPress website and you might want to execute some php in a widget or sidebar. You can download plugins to do this but this adds bloat to your WordPress. Remember, using the least amount of plugins in your website will ensure that the site loads quickly, has limited conflicts with other plugins and is easy and quick to upgrade.

I always recommend that you do not edit your main themes’ functions.php file, rather, place a new functions.php file in a child-theme folder instead.  This way any updates to WordPress will not break your code.

wp-content/themes/your-theme-here/functions.php  (don’t touch this)

Create a new folder here:

wp-content/themes/your-theme-here-child/

  • notice I added -child  to the end of the new folder

so now you should have

wp-content/themes/your-theme-here/functions.php
wp-content/themes/your-theme-here-child/

Create a NEW functions.php file (use a text editor or notepad) and place it in this folder so it looks like this…

wp-content/themes/your-theme-here-child/functions.php

add this little bit of code to your theme’s function.php file:

// Enable PHP in widgets
add_filter('widget_text','execute_php',100);
function execute_php($html){
     if(strpos($html,"<"."?php")!==false){
          ob_start();
          eval("?".">".$html);
          $html=ob_get_contents();
          ob_end_clean();
     }
     return $html;
}

Next…

Open your WordPress Admin –> APPEARANCE —>  WIDGETS  and add whatever  php code you want to the Widget. Select a TEXT WIDGET and drag it to the SIDEBAR Widget then add your shortcode

or whatever shortcode you have.

**Hint: Remember to us <?php my code here ?> within the widget not just the code itself.

Save it. Then go to your public facing page and you should see the code working!

FIN!

Of course, before making any changes, you should make a full backup of your website. If you don’t want to make a backup from your hosts control panel, you can add a plugin like UpDraft to WordPress to do this for you.

Of course, if you don’t want to do this, you can always hire us!

by James Byrne, Information Architect – After Dark Grafx

Wordpress Developer in San Diego

Use Shortcodes in Widgets Without a Plugin for WordPress

Have ever wanted to use a Shortcode in a widget area of WordPress but didn’t want to add another plugin or contact a developer?

By default, WordPress doesn’t support this feature.

You can simply add this short snippet to your theme’s function.php file and you’ll be using shortcodes in widgets in no time at all!

I always recommend that you do not edit your main themes’ functions.php file, rather, place a new functions.php file in a child-theme folder instead.  This way any updates to WordPress will not break your code.

wp-content/themes/your-theme-here/functions.php  (don’t touch this)

Create a new folder here:

wp-content/themes/your-theme-here-child/

  • notice I added -child  to the end of the new folder

so now you should have

wp-content/themes/your-theme-here/functions.php
wp-content/themes/your-theme-here-child/

Create a NEW functions.php file (use a text editor or notepad) and place it in this folder so it looks like this…

wp-content/themes/your-theme-here-child/functions.php

add this to the functions.php file

<?php 
// Enable shortcodes in widgets
add_filter( 'widget_text', 'shortcode_unautop' );
add_filter('widget_text', 'do_shortcode');
?>

Next…

Open your WordPress Admin –> APPEARANCE —>  WIDGETS  and add whatever Shortcode you want to the Widget. Select a TEXT WIDGET and drag it to the SIDEBAR Widget then add your shortcode

or whatever shortcode you have.

Save it. Then go to your public facing page and you should see the shortcode working!

FIN!

Of course, before making any changes, you should make a full backup of your website. If you don’t want to make a backup from your hosts control panel, you can add a plugin like UpDraft to WordPress to do this for you.

by James Byrne, Information Architect – After Dark Grafx

Categories

RECENT BLOG POSTS