Tagged: theme Toggle Comment Threads | Keyboard Shortcuts

  • DerFichtl 8:52 am on September 24, 2010 Permalink
    Tags: , , , , Shortcode, theme,   

    WordPress Quicky: Use the [Shortcode] API 

    Another quicktipp for wordpress plugin developers. With the shortcode API you can easily provide additional commands for wordpress authors …

    More …

     
  • DerFichtl 9:35 am on September 23, 2010 Permalink
    Tags: , , theme,   

    WordPress Quicky: Exclude Categories 

    Another quicktipp for wordpress theme developers.

    If you want to exclude one or more categories from a page (startpage, category-page), you can call the query_posts function with negative category-ids …

    <?php query_posts($query_string . '&cat=-1,-2,-3'); ?>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
        <!-- POST -->
    <?php endwhile; endif; ?>
     
  • DerFichtl 9:45 am on September 22, 2010 Permalink
    Tags: , , theme, ,   

    WordPress Quicky: Register Sidebar Widget with 3.0 

    Another quicktipp for wordpress plugin developers. Registering a sidebar widget can end with a fatal error if you use the code from the wordpress documentation …

    More …

     
    • Jamy Hudsk 12:17 pm on February 20, 2011 Permalink | Reply

      Thanks, little less info though, you should visit http://wordpressfunctions.com/global/sidebar-global/register-a-new-sidebar.html if you want to know more.

    • Hubert Pic 10:57 pm on March 18, 2012 Permalink | Reply

      Where can i write this code? and what is the “MyWidgetClass” ? I haven’t create a widget and i have this problem … can you help me ?

      (sorry i’m french, and my englsih is so poor …)

    • Nicolas Bouliane 2:00 am on November 25, 2010 Permalink | Reply

      Why is that? I have the same problem (which you have solved), but I’d love to understand what I’m doing

    • DerFichtl 8:59 am on November 25, 2010 Permalink | Reply

      I really don’t know, it seems that the add_action needs to work with the result of register_widget() and not with the widget classname itself. very irrational but …

    • Hubert Pic 10:57 pm on March 18, 2012 Permalink | Reply

      Where can i write this code? and what is the “MyWidgetClass” ? I haven’t create a widget and i have this problem … can you help me ?

      (sorry i’m french, and my englsih is so poor …)

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel