Tech Notes
common css
.center-image { text-align: center } .image-center { text-align: center } .grecaptcha-badge { visibility: hidden; }
Increasing WordPress Memory
Current memory WordPress Limit: 128MB | Your usage now: 75MB | Total Server Memory: 256MB To increase the WordPress memory limit add this info to your file wp-config.php (located at root folder of your server) (just copy and paste) define(‘WP_MEMORY_LIMIT’, ‘128M’); before this row: /* That’s all, stop editing! Happy blogging. */ Replace 128 with the […]
hardening your site
Hardening site Setting your permissions is very important to.Directories 755Files 644.htaccess 600 # BEGIN WordPress# The directives (lines) between `BEGIN WordPress` and `END WordPress` are# dynamically generated, and should only be modified via WordPress filters.# Any changes to the directives between these markers will be overwritten.<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ – [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} […]
prevent hotlinking
add to .htaccess (change “yourdomain, add your own pix last line): RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC] RewriteRule \.(jpg|jpeg|png|gif)$ http://domain.com/nohotlinking.jpg [NC,R,L]
Trace image in Adobe Illustrator
Open the image trace panel. To make adjustments, open the image trace panel. I use this technique in logo development, when transferring sketches from pencil and paper to vectors. Take a photo with a smart phone, then email to get it into your systemf. I use a camera with larger megapixels to get a higher […]
Web Header Sizes
Header Size 1920 One Third Page 1920 360 16:03 Header Size 1920 Half Page 1920 540 32:09:00 Header Size 1920 Full Page (Hero Header) 1920 1080 16:09 HEADER SIZE WIDTH HEIGHT RATIO Header Size 1024 One Third Page 1024 256 4:01 Header Size 1024 One Third Page (Extra Height) 1024 300 24:07:00 Header Size 1024 Half Page 1024 384 8:03 […]
Protected: Plugins Used for a WooCommerce WordPress Site
There is no excerpt because this is a protected post.
Retrieving lost password in WooCommerce
Retrieving lost password wordpress, woo commerce Email works fine but when directed to page you can’t save the new password. Go into woo settings > advanced > take out text “lost-password” This will direct the user to the WP login. Remember there are 2 logins – one for wordpress one for woo. this is a […]
Embedding YouTube Videos in WP
To prevent related videos from showing after the video plays use: “?rel=0” after link …..ps://youtu.be/94RC9yDULJU?rel=0 To prevent controls use: &controls=0&showinfo=0after link Example <p><iframe src=”https://www.youtube.com/embed/ivP_Xz57q3A?rel=0&controls=0&showinfo=0″ width=”853″ height=”500″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></p> To Embed YouTube Video > Go to share, choose embed Using the ?Rel=0 will continue to show more suggestions of your own videos. In the past this […]
Adding reCAPTCHA in Contact Form 7
Adding reCAPTCHA to Contact form 7 Add plugin: Advanced noCaptcha & invisible Captcha by Shamim Hasan Go to Google recaptcha get v2 invisible keys. add the keys into the above plugin. Delete integration in Contact Form 7 – or do not add here. Add short code to CF7 form: [anr_nocaptcha g-recaptcha-response] You may also add […]
Display Shop Category Any Page
Woo Commerce short code for displaying a single category on any page product_category category=”label” per_page=”12″ columns=”4″ orderby=”price” order=”asc” add short-code brackets [ ]