Skip to main content

Home/ buddypress/ Group items tagged reference

Rss Feed Group items tagged

Vernon Fowler

Function Reference/get template part « WordPress Codex - 0 views

    • Vernon Fowler
       
      TIL buddypress theme compatibility only plays nicely if the theme has been going with references to get_template_part e.g. http://codex.wordpress.org/Function_Reference/get_template_part [28/05/2013 4:35:25 PM] Bronson Quick: we have a client who didn't have budget and wants to use an existing theme and i couldn't work out why theme compatibility wouldn't generate permalinks properly [28/05/2013 4:35:30 PM] Bronson Quick: turns out that was the reason 
  •  
    "Load a template part into a template (other than header, sidebar, footer). Makes it easy for a theme to reuse sections of code and an easy way for child themes to replace sections of their parent theme. Includes the named template part for a theme or if a name is specified then a specialized part will be included. If the theme contains no {slug}.php file then no template will be included. "
Vernon Fowler

Template Tag Reference · BuddyPress Codex - 0 views

  • bp_get_the_site_member_avatar
  • bp_loggedin_user_id
  • bp_loggedin_user_avatar() bp_get_loggedin_user_avatar()
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.
  •  
    Nice to use in bp-custom.php rather than functions.php - especially when using the BuddyMobile plugin from @modemlooper
Vernon Fowler

Embeds « WordPress Codex - 0 views

  • SoundCloud (WordPress 3.5+)
    • Vernon Fowler
       
      Recordings must be set as public and share via the short URL in order to work in bbPress / BuddyPress 1.7.
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
       
      How to get this working in a BuddyPress theme? For example, the groups search form in the groups directory.
1 - 7 of 7
Showing 20 items per page