Unable to connect, retrying...
Online collaborative whiteboard. Powerful, engaging with timer, emoji's, commenting and voting.
Search for RSS feeds

Kaspars Dambis » Snippet » Kaspars Dambis

WordPress, Performance & Electronics

Feed:

Disable Title Rewrite in WordPress SEO

Here are two simple filters to remove the rewrite of content functionality provided by WordPress SEO: // Remove the wp_title filter add_action( 'init', 'remove_wpseo_title_rewrite' ); fun...</p> <p class="url"><a href="https://kaspars.net/blog/disable-title-rewrite-wordpress-seo" target="_blank" rel="nofollow">https://kaspars.net/blog/disable-title-rewrite-wordpress-seo</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/post-formats-wordpress-3-6" target="_blank" rel="nofollow">Automatic Theme Fallbacks for Post Formats in WordPress 3.6</a></h3> <time class="published" datetime="1364972456">Wed April 3rd, 2013</time> </header> <p class="description">Today I noticed that WordPress (3.6-alpha-23883) has started automatically adding content to my posts that use post format other than the standard “post” and have some of the new meta fields...</p> <p class="url"><a href="https://kaspars.net/blog/post-formats-wordpress-3-6" target="_blank" rel="nofollow">https://kaspars.net/blog/post-formats-wordpress-3-6</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/avg-max-min-meta-value" target="_blank" rel="nofollow">AVG, MAX, MIN on meta_value in WordPress</a></h3> <time class="published" datetime="1361096637">Sun February 17th, 2013</time> </header> <p class="description">If you want to do MAX, MIN, AVG or other kind of mathematical operation on non-numeric MySQL columns (such as longtext for meta_value in WordPress), you can cast it to float like this: SELECT met...</p> <p class="url"><a href="https://kaspars.net/blog/avg-max-min-meta-value" target="_blank" rel="nofollow">https://kaspars.net/blog/avg-max-min-meta-value</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/add-rel-attribute-to-each-gallery-post" target="_blank" rel="nofollow">Add Unique Rel Attribute to Each Gallery Within a Post</a></h3> <time class="published" datetime="1360622421">Mon February 11th, 2013</time> </header> <p class="description">Rel attributes are used by many gallery/slideshow scripts (thickbox, fancybox, colorbox) for grouping images into galleries. In my previous articles I explained how to add unique rel attributes...</p> <p class="url"><a href="https://kaspars.net/blog/add-rel-attribute-to-each-gallery-post" target="_blank" rel="nofollow">https://kaspars.net/blog/add-rel-attribute-to-each-gallery-post</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/php-proxy-dropbox-host-static-website" target="_blank" rel="nofollow">Use PHP as a Proxy to Dropbox for Serving a Static Website</a></h3> <time class="published" datetime="1354633461">Tue December 4th, 2012</time> </header> <p class="description">Ever wanted to use Dropbox for managing your static HTML site or blog? One option is to simply install the Dropbox Linux client and symlink the folder you want to the public folder server by Apac...</p> <p class="url"><a href="https://kaspars.net/blog/php-proxy-dropbox-host-static-website" target="_blank" rel="nofollow">https://kaspars.net/blog/php-proxy-dropbox-host-static-website</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/new-plugin-minit" target="_blank" rel="nofollow">New Plugin: Minit</a></h3> <time class="published" datetime="1351881519">Fri November 2nd, 2012</time> </header> <p class="description">Minit is a WordPress plugins that combines (concatenates) all CSS and Javascript files that are enqueued using proper wp_enqueue_script and wp_enqueue_style methods. It also detects external Java...</p> <p class="url"><a href="https://kaspars.net/blog/new-plugin-minit" target="_blank" rel="nofollow">https://kaspars.net/blog/new-plugin-minit</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/download-migrate-attachments-images-from-large-wordpress-com-blog" target="_blank" rel="nofollow">How to Download and Migrate Attachments and Images from a Large WordPress.com Blog</a></h3> <time class="published" datetime="1351668757">Wed October 31st, 2012</time> </header> <p class="description">The default WordPress importer can’t transfer more images than the PHPexecution time allows it to, which makes it almost impossible to migrate a large WordPress.com site with lots of media ass...</p> <p class="url"><a href="https://kaspars.net/blog/download-migrate-attachments-images-from-large-wordpress-com-blog" target="_blank" rel="nofollow">https://kaspars.net/blog/download-migrate-attachments-images-from-large-wordpress-com-blog</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/postal-zip-code-before-city-gravity-forms-address" target="_blank" rel="nofollow">Place Postal Code Before City in Gravity Forms Address Fields</a></h3> <time class="published" datetime="1351501166">Mon October 29th, 2012</time> </header> <p class="description">Here is a quick and undocumented fix for placing postal code before city name in address fields generated by Gravity Forms plugin: add_filter( 'gform_address_display_format', 'place_zip_before_ci...</p> <p class="url"><a href="https://kaspars.net/blog/postal-zip-code-before-city-gravity-forms-address" target="_blank" rel="nofollow">https://kaspars.net/blog/postal-zip-code-before-city-gravity-forms-address</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/use-github-for-wordpress-plugin-development" target="_blank" rel="nofollow">Use GitHub for WordPress Plugin Development</a></h3> <time class="published" datetime="1348074004">Wed September 19th, 2012</time> </header> <p class="description">I just wrote a tutorial on how to use Git (and GitHub) with Subversion mirroring for WordPress plugin development. Read more → </p> <p class="url"><a href="https://kaspars.net/blog/use-github-for-wordpress-plugin-development" target="_blank" rel="nofollow">https://kaspars.net/blog/use-github-for-wordpress-plugin-development</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/plugins-via-symlinks" target="_blank" rel="nofollow">Add WordPress Plugins via Symlinks</a></h3> <time class="published" datetime="1346924359">Thu September 6th, 2012</time> </header> <p class="description">WordPress doesn’t fully support adding plugins by using symbolic links in the wp-content/plugins folder. This is because plugins_url() which is often used for enqueuing plugin CSS and Javascrip...</p> <p class="url"><a href="https://kaspars.net/blog/plugins-via-symlinks" target="_blank" rel="nofollow">https://kaspars.net/blog/plugins-via-symlinks</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/add-custom-image-sizes-to-media-uploader" target="_blank" rel="nofollow">Add Custom Image Sizes to Media Uploader</a></h3> <time class="published" datetime="1345918591">Sat August 25th, 2012</time> </header> <p class="description">Add Custom Image Sizes to Media Uploader — It’s been long since I wanted to write a tutorial on doing just that. Thanks Pippin! Read more → </p> <p class="url"><a href="https://kaspars.net/blog/add-custom-image-sizes-to-media-uploader" target="_blank" rel="nofollow">https://kaspars.net/blog/add-custom-image-sizes-to-media-uploader</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/develop-wordpress-multisite-locally-using-production-database" target="_blank" rel="nofollow">Develop and Work with WordPress Multisite Locally Using a Production Database</a></h3> <time class="published" datetime="1340115882">Tue June 19th, 2012</time> </header> <p class="description">Update: This is useful only if you can’t edit your local /etc/hosts file (using a tool like Gas Mask makes it fast and super easy) and use the production domain for development. To my knowledge...</p> <p class="url"><a href="https://kaspars.net/blog/develop-wordpress-multisite-locally-using-production-database" target="_blank" rel="nofollow">https://kaspars.net/blog/develop-wordpress-multisite-locally-using-production-database</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/include-taxonomy-terms-in-permalinks-custom-post-types" target="_blank" rel="nofollow">Include Terms from Custom Taxonomy in Permalinks of Custom Post Types</a></h3> <time class="published" datetime="1339653710">Thu June 14th, 2012</time> </header> <p class="description">Link: Create custom URLs (permalinks and permastructures) for custom post types which include all parent terms from a custom taxonomy. Such as http://example.com/recipes/breakfast,brunch/boiled-e...</p> <p class="url"><a href="https://kaspars.net/blog/include-taxonomy-terms-in-permalinks-custom-post-types" target="_blank" rel="nofollow">https://kaspars.net/blog/include-taxonomy-terms-in-permalinks-custom-post-types</a></p> </article></div><!-- /rsssearchhubarticle --> <!-- rsssearchhubarticle --><div class="___rsssearchhubarticle"><article> <header> <h3 class="title"><a href="https://kaspars.net/blog/facebook-for-wordpress-manual-social-button-placement" target="_blank" rel="nofollow">How to Use Manual Social Button Placement with the New Facebook Plugin for WordPress</a></h3> <time class="published" datetime="1339577213">Wed June 13th, 2012</time> </header> <p class="description">The new Facebook plugin for WordPress is really nice — well written and uses only the best practices in WordPress plugin development. Here a few tips to help you customize the functionality of ...</p> <p class="url"><a href="https://kaspars.net/blog/facebook-for-wordpress-manual-social-button-placement" target="_blank" rel="nofollow">https://kaspars.net/blog/facebook-for-wordpress-manual-social-button-placement</a></p> </article></div><!-- /rsssearchhubarticle --> </section></div><!-- /rsssearchhubfeedbar --> </div> <script type="text/javascript" src="https://www.rsssearchhub.com/modules/CrutchKit/crutches/jquery/content/jquery.1.11.1.js?v=1.11.1" ></script> <script type="text/javascript" src="https://www.rsssearchhub.com/modules/CrutchKit/crutches/bootstrap/content/3.3.6/js/bootstrap.min.js?v=3.3.6" ></script> <script type="text/javascript" src="https://www.rsssearchhub.com/modules/CrutchKit/crutches/jquerytouchswipe/content/jquerytouchswipe.min.js?v=1.7.2" ></script> <script type="text/javascript" src="https://www.rsssearchhub.com/modules/CrutchKit/crutches/jqueryui/content/jquery-ui-1.11.4.custom/jquery-ui.min.js?v=1.11.4" ></script> <script type="text/javascript" src="https://www.rsssearchhub.com/modules/CrutchKit/crutches/customscrollbars/content/jquery.mCustomScrollbar.concat.min.js?v=1.0.0" ></script> <script src="/resources/script-a4aa02fb27a03aa7bcc6348c6701a140.js" type="text/javascript" ></script> <script type="text/javascript" > (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-4360679-6', 'auto'); ga('send', 'pageview'); window.addEventListener('error', function(e) { console.error(e); if(ga !== undefined){ ga(['_trackEvent', 'JavaScript Error', e.message, e.filename + ': ' + e.lineno, true]); } }); $(document).ajaxError(function(e, request, settings) { console.error(e); if(ga !== undefined){ ga(['_trackEvent', 'Ajax error', settings.url, e.result, true]); } }); //Template: searchsuggestionstypeahead (function($, window, document, undefined){ $().ready(function(){ $().searchSuggestions({ containerid : "rsshubq", searchid : "q", optiontemplate : "searchsuggestionstypeaheadoption", urn : "rsssearchhubfeeds", typeaheadid : "rsshubq_typeahead_holder", autofocus : "" }); }); })(jQuery, window, document); </script> </body> </html><script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="f1a0657ab44254b8c58554ca-|49" defer></script>