Cyklistika, programování, společnost, kultura

Autor: mackopu Strana 37 z 38

Zakládající člen a webmaster A.M.bike, autor tohoto webu. Chorý mozek, pachatel tratí. Ve volném čase se kromě cyklistiky věnuji programování internetových aplikací v jazyce HTML, CSS, PHP, MySQL a Javascript.

Automatically Notify Your Members on New Posts

Převzatý článek

Send an email to all registered users when a post is published. Simply place this code into your functions.php file.

Show PHP Errors

Převzatý článek

This shows PHP errors for your WordPress theme. It also checks that the user i an admin and error will only be displayed if it’s true.

CODE SNIPPET:

Show Images from Post or Page Attachments

Převzatý článek

Get all image attachments from a page or post. I usually use this to show a slideshow on a page.

50 brodů na Krakovec a Skryje u Berounky

Motto: „Suchou nohou ani náhodou, o kraťácích a dresu nemluvě…“

Split up images and text

Převzatý článek

Pulls out all your images in your post and puts it in a separate div.

Check If Mobile Device

Převzatý článek

This functions checks if the user is visiting using a mobile device and returns result in true or false.

Reset your password

Převzatý článek

So you’ve lost your password, huh? There is a way to change it the hard way, if you can’t use the ‘forgot password’-function for whatever reason. Insert this command in to a PhpMyAdmin Sql-window.

CODE SNIPPET:

Paypal Donation Shortcode

Převzatý článek

This code will make it simpler to accept paypal donations.
To use it, simply place the above snippet in your functions.php file and use any of the shortcodes below.

Facebook like button

Převzatý článek

Add a Facebook like button to a page by pasting this code where you want it. You can modify the parameters, see Facebook docs.

CODE SNIPPET:

QR code with article link

Převzatý článek

Just insert the above code inside the WordPress loop, and a QR-code will be rendered for every article.

CODE SNIPPET:

Strana 37 z 38

Powered by WordPress & Theme by Anders Norén