Chip Bennett
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to remove excerpts from home page?What Theme are you using?
Forum: Themes and Templates
In reply to: Over-ride "Posts per Page using special codingGlad to help!
(Please be sure to mark the topic as “resolved”, if it is resolved. 🙂 )
Forum: Themes and Templates
In reply to: Themes (License issue)2) It’s not your code so you need to maintain credit to the original authors. That doesn’t have to be a link, a comment in the code attributing to the author will usually suffice.
This isn’t actually true.
First: original-work attribution is only required when redistributing a work. Per the GPL, one is free to modify the original work in any way whatsoever, and is under no compulsion to retain credit/license attribution unless redistributing the modified work.
Second: only copyright/license attribution of the work is required. This attribution is generally found in
style.css,functions.php, orreadme.txt. No public-facing links or credit text are required to be retained, whatsoever.(If I come across as a bit…passionate about this topic, it’s because I am. I have to deal all the time with shady developers who attempt to pervert license requirements in order to force footer credits/links on users.)
Forum: Themes and Templates
In reply to: Script at top of header.php breaks website (no error)Try removing the
exit;at the end. Basically, what this code is saying is:1. If this is a single “production” post-type, redirect to post 11
2. Else, if this is a single “credit” post-type, redirect to post 13
3. Otherwise, stop processingI don’t see how you’d ever get anything to parse, using this code.
Forum: Themes and Templates
In reply to: [evolve] [Theme: EvoLve] Валидность кодаCan you post that in English please? 🙂
Forum: Themes and Templates
In reply to: category base urlcategory base url like http://www.wpsite.com/category/ is broken
No, it’s not; that is expected behavior. The
/category/base is virtual. It doesn’t actually exist.You actually need to include a category slug in the URL in order for WordPress to know what to do with it.
Forum: Themes and Templates
In reply to: Over-ride "Posts per Page using special codingThe biggest problem here is that you’re using
query_posts()for something other than altering the main loop query.For a secondary loop, use
WP_Query()instead.For example:
$cat_posts_query_args = array( 'category_name' => get_the_title(), 'post_status' => array( 'publish', 'future' ), 'posts_per_page' => 25 ); $cat_posts_query = new WP_Query( $cat_posts_query_args );Then, you just set up your secondary loop:
if ( $cat_posts_query->have_posts() ) : while ( $cat_posts_query->have_posts() ) : $cat_posts_query->the_post(); // Secondary loop output goes here the_content(); endwhile; endif; //Be kind; rewind wp_reset_postdata()Forum: Themes and Templates
In reply to: Static homepageAny WordPress Theme can/should handle static front pages with no problem. Just grab one from the official Theme repository, and you should be good to go.
A static front page is nothing more than a static page, assigned via core options to display on the site front page. It is not a Theme-specific feature.
Forum: Themes and Templates
In reply to: Help With A Background On A Theme Without Background OptionsIf you know your way around CSS, you should be able to find a solution.
That said:
Ive recently purchased wptube platinum.
As this is a commercial Theme, for any Theme-specific help you will need to consult the support offerings of the developer.
Forum: Themes and Templates
In reply to: Customizing My footer TextAs Genesis Theme and its Child Themes are commercial products, you should consult the support offerings of the developer, StudioPress.
Don’t use this:
<?php include("header.php");?> <?php include("footer.php");?>Use
get_header(),get_footer(),get_sidebar()forheader.php,footer.php, andsidebar.phprespectively. Useget_template_part()for including any other, arbitrary template-part file.Forum: Themes and Templates
In reply to: [Twenty Eleven] How do i edit top navigation menus ?Go to Dashboard -> Appearance -> Menus to configure custom navigation menus.
You need to create your custom menu(s), and then assign your custom menu(s) to the defined Theme Location(s) for menus.
Forum: Fixing WordPress
In reply to: Not showing content in editorIf I switch themes will I lose all the settings I have
No. Theme settings are preserved, and will be restored when you switch back to your original Theme.
Just temporarily switch to TwentyEleven, and see if you can still observe the issue.
Forum: Fixing WordPress
In reply to: Not showing content in editor^ switch themes to the default theme and check if it could be something with the theme you are using.
@frumph is reading my mind! 🙂 This is definitely the next step.
Forum: Themes and Templates
In reply to: Where is the style.css file?As Headway is a commercial Theme, you will need to consult the support offerings of the developer, Headway Themes.