designpromote
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme developmentSorry, I found it on the link now, missed it a couple of times. While I try to understand it, do appreciate more advice.
Forum: Themes and Templates
In reply to: Theme developmentWpyogi, yes, but mind to point out in which lines. I read through it already, but couldn’t find any, and i check one theme, it’s independent to any other theme.
Forum: Themes and Templates
In reply to: Theme developmentsorry, it’s about theme development, once I finish it, I would like to submit for wordpress to approve to list. It’s not to host my site.
Forum: Plugins
In reply to: How can I know if my plugins is approved or not?I have emailed plugins [at] wordpress.org 1 week ago, but no reply. How long should I wait for please?
Forum: Hacks
In reply to: Best Practice for ConditionsThe both are the same in my view. However, if myfunction() is called quite often, the second one provides a better performance. As stated for add_filter() (http://codex.wordpress.org/Function_Reference/add_filter), there is no test that the function exists nor whether the $function_to_add is even a string. It is up to you to take care and this is done for optimization purposes, so everything is as quick as possible. .
Forum: Plugins
In reply to: How can I know if my plugins is approved or not?I get lost as I didn’t receive any messages and emails from WordPress regarding to the plugins for reviews, but my plugin is not listed on my account. Can anyone help please?
Suppose you are using 2012 template. I use the code below:
register_sidebar( array( 'name' => __( 'Third Front Page Widget Area', 'restaurant' ), 'id' => 'sidebar-4', 'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'restaurant' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );If your questions are about CSS, please use firebug in Firefox. For example (#myid #mywidget #mytext) have more weight than (#mywidget #mytext) or (#myid #mytext), CSS structure are different between 2012 and 2011.
Forum: Fixing WordPress
In reply to: NACL64.EXE (1MB in size) in uploads foldsThanks for your reply. it’s a new things to me and working on your suggestion now.
Forum: Themes and Templates
In reply to: Why page templates change page layout?By the way, I managed to use is_page as conditional tag to show “Leave a Reply” for a certain page, but it stated “Cannot Be Used Inside The Loop”. I coded as the below, it’s inside the loop, may any problems?
<?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php if(is_page('menu')) comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?>Forum: Themes and Templates
In reply to: Why page templates change page layout?It changed #primary and #content, can anyone explain it please?