Skip to main content

Home/ Wordpress/ Group items tagged Codex

Rss Feed Group items tagged

Vernon Fowler

Function Reference/wp is mobile « WordPress Codex - 0 views

  • This Conditional Tag checks if the user is visiting using a mobile device. This is a boolean function, meaning it returns either TRUE or FALSE.
Luciano Ferrer

Function Reference/is home « WordPress Codex - 3 views

  •  
    "Function Reference/is home This Conditional Tag checks if the main page is being displayed. This is a boolean function, meaning it returns either TRUE or FALSE. "
Vernon Fowler

Function Reference/is plugin active « WordPress Codex - 0 views

  •  
    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
Luciano Ferrer

How To Query Multiple Custom Post Types with query_posts [WordPress Tip] | Peter R Knight - 2 views

  •  
    " query_posts('post_type[]=post&post_type[]=page&post_type[]=event'); + http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts "
Vernon Fowler

Function Reference/add theme support « WordPress Codex - 0 views

  • HTML5 This feature allows the use of HTML5 markup for the comment forms, search forms and comment lists. add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form' ) );
Vernon Fowler

Function Reference/bloginfo « WordPress Codex - 0 views

  • 'siteurl' - Deprecated since version 2.2. Echo home_url(), or use bloginfo('url'). 'home' - Deprecated since version 2.2. Echo home_url(), or use bloginfo('url').
  • Please note that directory URLs are missing trailing slashes.
  • home = http://www.example.com/home (DEPRECATED! use url option instead)
  • ...1 more annotation...
  • siteurl = http://www.example.com/home (DEPRECATED! use url option instead)
  •  
    Displays information about your site, mostly gathered from the information you supply in your User Profile and General Settings WordPress Administration Screens. It can be used anywhere within a template file. This always prints a result to the browser. If you need the values for use in PHP, use get_bloginfo().
Vernon Fowler

Function Reference/admin url « WordPress Codex - 0 views

  • admin_url( 'edit-tags.php?taxonomy=category', 'https' );
Luciano Ferrer

How to Add Items to the WordPress Toolbar - WPMU DEV - 1 views

  •  
    "In this article, we'll look at how you can add your own custom links to the bar with code so you can quickly access parts of the front and backend of your site with ease. This will be a simple enough task, all we need is one function: add_node(). I recommend taking a look at what the Codex has to say about it, I'll show you the basics using a couple of examples."
Vernon Fowler

Embeds « WordPress Codex - 0 views

  • Twitter (WordPress 3.4+)
  • Make sure that the URL is on its own line and not hyperlinked
  • SoundCloud (WordPress 3.5+)
  • ...5 more annotations...
  • SlideShare (WordPress 3.5+)
  • Scribd
  • Flickr (both videos and images)
  • Vimeo (note older versions of WP have issues with https embeds, just remove the s from the https to fix)
  • YouTube (only public and "unlisted" videos and playlists - "private" videos will not embed)
Daniel Phillips

Backing Up Your Database « WordPress Codex - 0 views

  •  
    Using phpAdmin to backup your database
Vernon Fowler

Conditional Tags « WordPress Codex - 0 views

  • The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. For example, you might want to display a snippet of text above the series of posts, but only on the main page of your blog. With the is_home() Conditional Tag, that task is made easy.
  • is_single()  When any single Post (or attachment, or custom Post Type) page is being displayed. (False for Pages)
  •  
    Great for use with the Widget Logic plugin. A reference for all the conditional tags that help you restrict a widgets viewing.
  •  
    Warning: You can only use conditional query tags on or after the init action hook in WordPress. For themes, this means the conditional tag will never work properly if you are using it in the body of functions.php, i.e. outside of a function.
Vernon Fowler

Theme Development « WordPress Codex - 0 views

  • Create a screenshot for your theme. The screenshot should be named screenshot.png, and should be placed in the top level directory. The screenshot should accurately show the theme design, and it could be saved in PNG, JPEG or GIF format. The recommended image size is 300x225.
‹ Previous 21 - 40 of 50 Next ›
Showing 20 items per page