Skip to main content

Home/ Wordpress/ Group items tagged glossary

Rss Feed Group items tagged

Vernon Fowler

WordPress › WP Glossary « WordPress Plugins - 3 views

  • Display and link to glossary with slug 'seo' [glossary slug='seo'] Auto search word for matching glossary term (e.g. 'seo') [glossary]SEO[/glossary] Apply glossary term with slug 'seo' to post content 'search engine optimisation' [glossary slug='seo']search engine optimisation[/glossary]
  • [glossary]SEO[/glossary]
Vernon Fowler

Additional Settings for Managing Your WordPress Network - For Dummies - 2 views

  • the Sites page is where you create and delete sites and make edits to properties of the sites within your network. The Sites page also lists all the sites within your network and basic statistics about the path, including when updates occurred.
  • The management options for network sites are as follows: Edit: A link to the Edit Site page where you can change aspects of each site. Dashboard: A link to the Dashboard of the site. Deactivate: Click to mark the site for deletion in your network; a message displays in a pop-up window that asks you to confirm site deactivation. Click the Yes button to confirm. This action can be reversed by revisiting the Sites page and clicking the Activate link that appears underneath the site pathname. Archive: Click to archive the site in your network. This action can be reversed by revisiting the Sites page and clicking the Unarchive link beneath the site’s pathname. Spam: Clicking this link marks the site as spam and blocks the users from being able to access the dashboard.
Vernon Fowler

Post Types « WordPress Codex - 1 views

  • it is better if you prefix your identifier with a short namespace that identifies your plugin, theme or website that implements the custom post type. For example: acme_product or aw_product for products post type used by a hypothetical ACMEWidgets.com website
  • Namespacing your custom post type identifier will not guarantee against conflicts but will certainly minimize their likelihood.
  • Do pay close attention to not having your custom post type identifier exceed 20 characters though, as the post_type column in the database is currently a VARCHAR field of that length.
  • ...6 more annotations...
  • register_post_type( 'acme_product', array( 'labels' => array( 'name' => __( 'Products' ), 'singular_name' => __( 'Product' ) ), 'public' => true, 'has_archive' => true, ) );
  • When you namespace a custom post type identifier and still want to use a clean URL structure, you need to set the rewrite argument of the register_post_type() function. For example, assuming the ACME Widgets example from above:
  • 'rewrite' => array('slug' => 'products'),
  • Note: In some cases, the permalink structure must be updated in order for the new template files to be accessed when viewing posts of a custom post type.
  • single posts of a custom post type will use single-{post_type}.php and their archives will use archive-{post_type}.php where {post_type} is the $post_type argument of the register_post_type() function.
  • In any template file of the WordPress theme system, you can also create new queries to display posts from a specific post type. This is done via the post_type argument of the WP_Query object.
Andy Brudtkuhl

WP-SNAP! - 0 views

  •  
    WordPress Glossary Plugin
1 - 5 of 5
Showing 20 items per page