coding

SU Ultim – Adding Pagination To SU-POSTS

coding
https://getshortcodes.com/docs/posts/  Template editing Do not edit templates in the plugin folder, since all your changes will be lost after plugin update. To modify a built-in template you should copy it to your theme directory first. For convenience, you can copy the whole templates folder from the plugin folder. You can rename the copied folder, it […]

SU Ultim – Adding Pagination To SU-POSTS Read More »

CORS – Fixing Errors

all-scribbly coding
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors CORS error messages Firefox’s console displays messages in its console when requests fail due to CORS. Part of the error text is a “reason” message that provides added insight into what went wrong. The reason messages are listed below; click the message to open an article explaining the error in more detail and offering

CORS – Fixing Errors Read More »

Sass Style Guide – CSS Tricks

coding
https://css-tricks.com/sass-style-guide/Use Your Regular CSS Formatting Rules / Style GuideThis post is about Sass-specific stuff, but as a base to this, you should follow a whatever good CSS formatting guidelines you are already following. If you aren’t yet, this roundup of style guides may help you. This includes things like:Be consistant with indentationBe consistant about where

Sass Style Guide – CSS Tricks Read More »

Styleguides – Major Sites

coding
GitHubhttps://styleguide.github.com/Googlehttps://google.github.io/styleguide/SASShttps://sass-guidelin.es/CSSIdiomatichttps://github.com/necolas/idiomatic-cssCSS Wizardryhttps://csswizardry.com/2012/04/my-html-css-coding-style/Smashing Magazinehttps://www.smashingmagazine.com/2008/05/improving-code-readability-with-css-styleguides/ThinkUPhttps://github.com/ginatrapani/ThinkUp/wiki/Code-Style-Guide:-CSSWordpresshttps://make.wordpress.org/core/handbook/coding-standards/css/Jonathan Snook’s Scalable and Modular Architecture for CSShttp://smacss.com/

Styleguides – Major Sites Read More »

Sass – Notes

coding
Concatenating Selectors TogetherFor concatenating selectors together when nesting, you need to use (&) to specify the parent selector..class { margin:20px; &:hover { color:yellow; } }p { margin: 2em auto; > a { color: red; } &:before { content: “”; } &:after { content: “* * *”; } }Target elements inside an elementYou just need to

Sass – Notes Read More »

No Comments In Pages

coding
if using editus – it screws with it’s ability to hide / ignore parts of the page.Got a response back from editus:Thank you for letting me know. I will look into it further. Here are workaround you can try.Add the following PHP code: (Either using a PHP code injection plugin or adding to your theme’s

No Comments In Pages Read More »

Javascript – Numbers

all-scribbly coding javascript
9e-6 Scientific notation uses the letter ‘e’ to represent an exponential value. This number is the same as 9 times 10 to the negative 6 power: 9 * 10^-6 or 0.000009++++++++Numbers in JavaScript are as straightforward as they sound; you don’t need any special syntax for numbers, you write them straight into JavaScript.In JavaScript, numbers can

Javascript – Numbers Read More »

ACE Editor – Setup / Usage

all-scribbly coding
Create syntax highlighter: https://ace.c9.io/#nav=higlighter themes: https://github.com/ajaxorg/ace/tree/master/lib/ace/theme Embedding Ace in Your Site https://ace.c9.io/#nav=embedding Ace can be easily embedded into a web page. Get prebuilt version of ace from ace-builds repository and use the code below: <!DOCTYPE html> <html lang="en"> <head> <title>ACE in Action</title> <style type="text/css" media="screen"> #editor { position: absolute; top: 0; right: 0; bottom: 0;

ACE Editor – Setup / Usage Read More »

Javascript – How To Code

all-scribbly coding
https://www.digitalocean.com/community/tutorial_series/how-to-code-in-javascriptHow To Code in JavaScriptby Lisa Tagliaferri and Tania RasciaJavaScript is a high-level, object-based, dynamic scripting language popular as a tool for making webpages interactive.How To Use the JavaScript Developer ConsoleJune 27, 2017This tutorial will go over how to work with the Console in JavaScript within the context of a browser, and provide an overview

Javascript – How To Code Read More »