way to make all pages with certain tags public?

I am not entirely sure what you’re asking, so I’m going to stake a wild stab in the dark until you can provide more information provided I don’t tell you exactly what you wanted to know. If by public you mean; pages with a certain tag lets say for this example the tag is ‘public’ … Read more

Displaying Current Page Number Conditionally

You want to use is_paged which checks if the current page number is 2 or above (and returns true if it is). is_front_page checks ‘if the main page is a posts or a Page’. You’ve also used incorrect syntax (changed from a double quote to a single quote, and used <?php inside a string being … Read more

anchor tag in header not working on other pages except the home page

The code you’re posting should work, as far as I can tell; however, you’re using some outdated template tags. Try replacing bloginfo( ‘url’ ) with echo home_url(), and bloginfo( ‘template_directory’ ) with echo get_template_directory_uri(), like so: <a href=”https://wordpress.stackexchange.com/questions/45310/<?php echo home_url(); ?>”> <img src=”<?php echo get_template_directory_uri(); ?>/images/logo.png” alt=”Good Morning Moon”/> </a> For more specific instruction, it … Read more

How to use the full page

In the theme you have choosen (twenty ten) – the main Container where you page / post is posted is the div: <div id=”content” role=”main”> <!– YOUR CONTENT IS PUBLISHED HERE –> </div> . This div has a maximum width of 640 pixels… if you want to change that you can do one of three … Read more

Need Help with Custom ModRewrite

This can be accomplished with WordPress’s internal rewrite system by using add_rewrite_rule and adding a query var. function wpse47506_rewrites_init(){ add_rewrite_rule( ‘about/case-studies/([^/]+)/?$’, ‘index.php?pagename=about/case-studies&clientname=$matches[1]’, ‘top’ ); } add_action( ‘init’, ‘wpse47506_rewrites_init’ ); function wpse47506_query_vars( $query_vars ){ $query_vars[] = ‘clientname’; return $query_vars; } add_filter( ‘query_vars’, ‘wpse47506_query_vars’ ); This would go in your functions.php file, then visit the permalinks settings … Read more