Conditional Script Loading for Shotcode

In the functions.php file or in your plugin file write the code below –

Select Text on Click of a Div with CSS

How to Set a default Title for the custom post?

Now use the function

Gray Scale with CSS with Cross Bowser Support

 

JavaScript Debugger in Google Chrome

Windows and Linux:

Ctrl + Shift + I keys to open Developer Tools

Ctrl + Shift + J to open Developer Tools and bring focus to the Console.

Ctrl + Shift + C to toggle Inspect Element mode.

Mac:

⌥ + ⌘ + I keys to open Developer Tools

⌥ + ⌘ + J to open Developer Tools and bring focus to the Console.

⌥ + ⌘ + C to toggle Inspect Element mode

To pause an event, hover over the event and press fn+f8.

How to a Add Custom Meta Box for Multiple Post Type

See: Stackexchange , Codex

How to Create a .pot file for theme or plugin with POEdit

Here is how you can create a .pot file for your theme with POEdit (free edition, version 1.7.7) on OS X.

Best practice is to save language files in a folder named “languages” in your theme directory. If you haven’t already, create it before you start.

In POEdit: Continue reading How to Create a .pot file for theme or plugin with POEdit

How to Show Thumbnail from YouTube URL?