WordPress’ sticky posts feature was introduced six years ago in the 2.7release. It was added to enable users to stick important posts to the front page so that they won’t disappear in a blog’s steady stream of chronologically ordered content.
By default, a sticky post is sticky indefinitely and requires you to manually uncheck the box under the post’s visibility settings in order to remove its stickiness. Expire Sticky Posts is a new ultra-simple plugin that allows you to set an expiration date on your sticky selections.
The plugin, created by Andy von Dohren, is a fork of the Simple Post Expiration plugin by Pippin Williamson. Expire Sticky Posts adds a date entry box to the publish panel for setting an expiration date if the post has been checked as sticky.
The plugin is perfect for automating the management of seasonal sticky posts and important time-sensitive notices. Also, some themes rely on sticky posts for setting the featured content on the homepage, requiring you to manually change them out. This plugin allows you to set up future dates for expiring sticky posts at the time that you publish them, so you don’t have to log in and change it later.
I tested the plugin and found that it works as advertised. The only thing I would add is the ability to set a specific time in addition to the date, as this may be important in some instances. If you find the Expire Sticky Postsplugin to be useful and have any further feedback, feel free to leave a note in the issues queue of the project’s GitHub repository.
from :http://code.tutsplus.com/tutorials/creating-child-themes-for-your-wordpress-theme-framework–cms-21933
This Demo Content Brought to you by Momizat Team
this is tags and keywords : wordpress themes momizat Tutorial wordpress templates
Maintaining a library of code snippets can save you time when coding similar tasks in the future. Although there are countless sites online where you can host code snippets, it’s more convenient to have them at your fingertips when writing a blog that includes code.
Plugin developer Justin Sternberg recently released Code Snippets CPT, a plugin that allows you to manage and display code snippets in WordPress. This unique use of custom post types stores code snippets as their own individual posts, which can be pulled into content via a handy shortcode.
The plugin uses Google Code Prettify to add syntax highlighting to your snippets. When creating a new snippet, you simply select the language from the dropdown at the top of the post editor. Write a description, add your snippet, and click publish.
Code Snippets CPT also includes custom taxonomies for classifying your snippets. You can add both snippet categories and snippet tags, which will then allow for some unique ways of organizing and displaying your library of snippets.
When you want to display a snippet within a post or page, click on the “Add Snippet” button in the visual or text editor to launch the shortcode finder. You can select whether or not you want to display line numbers for the snippet that you are embedding.
Sternberg’s site is running the plugin, if you want to view a few liveexamples of snippets in posts.
Code Snippets CPT allows you to create a searchable archive of code snippets on your own site, without having to host snippets with a third party service. The advantage of hosting your own snippets is that you can keep your code library centralized and back it up as part of your WordPress site.
Having code snippets stored as custom post types is a step up from simply using a syntax highlighter plugin, because it gives you the flexibility to sort and display snippets using their own snippet-specific taxonomies. If you want to get your code library organized in 2015, check out the Code Snippets CPT plugin on WordPress.org.
from :http://code.tutsplus.com/tutorials/creating-child-themes-for-your-wordpress-theme-framework–cms-21933
This Demo Content Brought to you by Momizat Team
this is tags and keywords : wordpress themes momizat Tutorial wordpress templates
The new WordPress default theme, Twenty Fifteen, looks great and provides a lot of flexibility, but one thing it lacks is the option to customize fonts. A free plugin called Typecase, by UpThemes, solves this problem by giving users easy access to over 650 different fonts.
Typecase uses the Google webfonts library, which has slowly increased in the past few years, making it a popular resource among theme developers.
Getting Started
Start by downloading and activating Typecase from the WordPress plugin directory. After it’s activated, look for the Typecase admin menu. While on the settings screen, scroll to the bottom and browse through the list of available fonts. You won’t be able to apply fonts through the Theme customizer unless you select a few font families.
After you select a few fonts, click the save button. Browse to the customizer via Appearance > Customize and select the Theme Fonts panel.
From here you’ll be able to assign fonts you selected in Typecase to various elements of the site such as, the sidebar, content, site title, site description, etc. Once you find a font that you like, click the Save and Publish button to see the changes on the live site.
Beyond The Customizer
If you’d like to assign a font to a specific CSS Selector, you can add one from the Typecase settings page. This enables you to customize fonts for any theme without writing code or modifying your theme in any way.
Add Typecase Support to Any Theme
Typecase has built-in support for every default theme since Twenty Ten. However, if you’d like to add support to a custom theme, you’ll need tofollow these directions as it involves adding a few lines of code.
If you’re using any of the default themes available for WordPress, Typecase is an easy way to expand the customization options available to you. With over 650 fonts to choose from, the hardest part of using it is deciding which ones to use.
from :http://code.tutsplus.com/tutorials/creating-child-themes-for-your-wordpress-theme-framework–cms-21933
This Demo Content Brought to you by Momizat Team
this is tags and keywords : wordpress themes momizat Tutorial wordpress templates
Recent Comments