Internet
Filtering of the internet:
Filtering of the internet:
WordPress user roles Super Admin - admin of the whole Network, can manage each site and everything in the Network Administrator - can do everything Editor - can create, edit and delete main items: pages, posts, comments, media Author - can view other people's articles; create, edit and publish his own articles Contributor - can ... Read more
simple way (same as "$(document).ready(function(){"): same as previous but with preventing $-conflicts with other js-frameworks: window-load (use this method when you need to manipulate with images; only in this way you can get the height of the images with js in chrome which are not yet loaded for example): Finding elements: jQuery selectors: Creating html ... Read more
If you want to redirect the page to first subpage then create new WordPress template file in your main theme, for example redirect-to-first-subpage.php and put folowing code in it. Then edit necessary page (which will be redirected) and setup "Page Template" as "Redirect to first subpage".
Plugin helps you to show list of pages of your web-site with [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes. Very usefull for adding sitemap or list of subpages or list of products with thumbnails on your web-site. Documentation Shortcodes [pagelist], [subpages], [siblings] are based on wp_list_pages('title_li=') function and show hierarchical tree of pages; You can use ... Read more
For adding iframe into post or page In WordPress you can use iframe plugin. It helps to add iframe with next shortcode: [iframe width="640" height="480" src="http://player.vimeo.com/video/3261363"] Or you can use oEmbed to embed video into post. The simple use is the next (remove underscore "_" after first openned embed shortcode): [embed_ width="500" height="400"]http://www.youtube.com/watch?v=A3PDXmYoF5U[/embed] You can ... Read more
everything should work out of the box - default settings should fit for the most users; Decisions not Options. Try to make as few options as possible. It’s not about eliminating options, it’s about having the right options; WordPrss .htaccess sample
Generate .pot file for a theme or plugin with Poedit tool File -> New Catalog Project Name and Version -> "some_name" Charset = "UTF-8" Source code charset = "UTF-8" Sources path tab -> Base path = "./" (if searching strings in the parent catalog) Paths = ".." (if searching strings in the parent catalog) (use ... Read more
jQuery timepicker page download jquery timepicker - ver.0.3.3 github page for jQuery timepicker jQuery timepicker needs jquery, jquery-ui and jquery-ui css style for its work: jQuery timepicker code: jQuery timepicker parameters:
jQuery fires events of type “ajaxStart” and “ajaxStop” to indicate the start and stop of Ajax-related network activity. When jQuery is not performing any Ajax requests and a new request is initiated, it fires an “ajaxStart” event. If other requests begin before this first one ends, those new requests do not cause a new “ajaxStart” ... Read more