I hereby claim:
- I am matrixwd on github.
- I am emurph78 (https://keybase.io/emurph78) on keybase.
- I have a public key ASBdLHYWRWOUD11E4sT_mEiV6AQVPOu2A8O2LlZvlrnr0go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* This script helps identify what element is causing a horizontal scroll. | |
* Simply paste this into the console of Chrome, FF, etc... | |
* This was from CSS-Tricks back in 2014 but still works like a charm today | |
* https://css-tricks.com/findingfixing-unintended-body-overflow/ | |
*/ | |
var all = document.getElementsByTagName("*"), i = 0, rect, docWidth = document.documentElement.offsetWidth; | |
for (; i < all.length; i++) { | |
rect = all[i].getBoundingClientRect(); |
/* | |
As you know there is 2 ways to do this. One is stacked icons as described here: https://fontawesome.com/how-to-use/on-the-web/styling/stacking-icons | |
However this is a much simpler approach | |
Adjust the width, height, line-height, and padding to suite your needs | |
I used the i selector for general purposes but you can change it as well | |
*/ | |
i { | |
background: #ffc0c0; | |
width: 100px; | |
height: 100px; |
<?php | |
/* | |
This gets added to your wordpress themes function.php or as a seperate plugin file | |
This function extends the WP Statistics Plugin to show how many users are currently online | |
And links it to the WP Statistics Page. | |
The css class is added for you to style according to your needs. | |
<?php | |
/* This is just an example of code to place inside of your wordpress page when using Gravity Forms Directory | |
I also included some screenshots to show you. | |
This uses jQuery and javascript to search the table <td> elements with the attribute 'Business Name' <- Change this to yours | |
*/ | |
?> | |
[button type="big"] Submit Your Business[/button] | |
<form> |
/* ======================================================================== | |
* Bootstrap: carousel.js v3.0.0 | |
* http://twbs.github.com/bootstrap/javascript.html#carousel | |
* ======================================================================== | |
* Copyright 2012 Twitter, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
/* | |
This function does just what it says. | |
Input your category in the in_category() | |
Author: Eric Murphy | |
URL: https://www.matrixwebdesigners.com/ | |
REF: https://codex.wordpress.org/Conditional_Tags#A_Category_Page | |
You can also use this for other things like pages, etc.. | |
*/ |
<?php break; | |
case 'download-product_version' : | |
$dl_id = $download['product_id']; | |
$version = esc_html( get_post_meta( $dl_id, 'version', true ) ); ?> | |
<span class="version"><?php echo $version; ?></span> | |
<?php break; | |
} |