Now that more websites are being viewed on mobile devices, I like to have the contact phone number right in the navigation at the top of the website. Here’s how to add it so that your visitors can just click to call. You’ll see I used a Custom Link instead of a regular page link…
Read More
Don’t Strip HTML from Excerpts or Content Limit Teasers
I hate it when WordPress strips out all my html in my excerpts. I know there’s a reason for it, but I put that HTML there because I need it. Here are my solutions: For Genesis add this code to your functions.php file- add_filter(‘get_the_content_limit_allowedtags’, ‘childtheme_custom_allowedtags’); function childtheme_custom_allowedtags() { return ‘<script>,<style>,<b>,<br>,<em>’; //add whatever tags you want…
Read More
Opening New Windows in Pop-Up
SUBSCRIBE TO OUR NEWSLETTER
SVG in WordPress
HTML 5 – Scalable Vector Graphics I created the following shape using this code: One note- in WP, all the code needs to be on one line, otherwise it breaks the code.
Tables
<table cellspacing=”10″><tr><td width=”600″> <td style=”vertical-align:top; padding-left:50px;”>
In Editor HTML Tricks to Help Your Formatting
For first line indentation: <p style=”text-indent:.5in;”>TEXT_HERE</p> For hanging indentation (all lines but the first): <p style=”margin-left:.5in;text-indent:-.5in”>TEXT_HERE</p> For an extra blank line: <p> </p> For increasing the distance between lines: <span style=”line-height:1.4;”>TEXT_HERE</span> For extra spaces: For extra spaces between all words of a section: <span style=”word-spacing: 32″>TEXT_HERE</span>
Most Used HTML
Open link in new browser: <a href=”http://domain.com”target=”_blank”> Change color of text: <span style=”color: #1db0b1;”> Float text: <div style=”float: left; width: 45%;”> Anchor Tag: <a name=”somename”></a> <a href=”/projects/#somename”>See their home.</a> Aligning images <img class=”alignright” src=”/wp-content/uploads/2011/09/image.png” width=”100px”> Add “more” link to post: <a href=”http://”>Find Out More</a>