Chip Bennett
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Displaying The Content Created In wp_admin Admin PageWhat about items like a banner graphic, navigation menu. Basically items that all pages share but may be different for each page.
Does that all go into page.php and then get rendered in index.php during the loop processing?
That’s a separate question. You should post it as a separate topic.
Forum: Themes and Templates
In reply to: Need help with nav menu in making a theme1. What are you trying to accomplish?
2. What did you actually do?
3. What didn’t happen that you expected to happen, or happened that you didn’t expect to happen?Forum: Themes and Templates
In reply to: Displaying The Content Created In wp_admin Admin PagePage content is output inside the Loop (i.e. not in the header), via the
the_content()template tag.Forum: Themes and Templates
In reply to: Help Moving Featured ImageTry something like this:
if ( has_post_thumbnail() ) { the_post_thumbnail(); } else { the_title(); }Forum: Themes and Templates
In reply to: Dynamic sidebar – only show on certain pageTry this instead:
if ( is_page( 'page-name' ) ) { if ( ! dynamic_sidebar( 'sidebar-1' ) ) { // Show Widget } }Forum: Themes and Templates
In reply to: Deleting templates that are no neededYou can safely delete
author.phpandcategory.php. Per the Template Hierarchy, both of these template files fall back toarchive.php, which falls back toindex.php.However, if the site does, or could ever, use comments, then you must retain
comments.php, which in turn must be called via thecomments_template()template tag.What Theme are you using?
Forum: Themes and Templates
In reply to: Can't Edit PageAs this is a commercial Theme, you should consult the support offerings of the Theme developer.
Forum: Fixing WordPress
In reply to: Fatal ErrorYou’ll either need to contact the developer, or else post the code somewhere for us to be able to review it.
The problem is that the Theme calls a function,
the_block(), which isn’t defined. But what that function is supposed to be, why the Theme calls it, and where it’s supposed to be defined are questions that are impossible to answer without seeing the actual code.Forum: Fixing WordPress
In reply to: Fatal ErrorWhere did you get the Euronest Theme?
Forum: Fixing WordPress
In reply to: Problems with writing my blogWPDirect is a commercial hosting service. You should contact them for support. There’s really nothing anybody here can do for you, since you’re not working with a self-hosted WordPress installation.
Forum: Fixing WordPress
In reply to: Remove "(Visited 1 times, 1 visits today)"+1 to what @vtxyzzy said.
That text is not being generated by WordPress core.
Forum: Fixing WordPress
In reply to: images in theme files won't showIn the template files, change this:
src="img/facebook.png"…to this:
src="<?php echo get_template_directory_uri(); ?>/img/facebook.png"For the CSS URLs, your site is generating 403 permission denied errors:
http://dyluxept.com/wp-content/themes/DyluxeFitnessCustom/img/background.pngYou’ll need to figure out why. Could be file/directory permissions; could be something in .htaccess.
Forum: Themes and Templates
In reply to: using Big Square from WordsPop- add sidebar?Themes distributed at WordsPop are not GPL-compatible; we cannot provide support for such Themes here.
Forum: Themes and Templates
In reply to: Theme (or Plugin) with Style-able Sidebar Navigation…would you recommend putting the wp_list_page() function in a widget in the sidebar or something different?
As this is a client project, I would just put the call to
wp_list_pages()directly in the appropriate place in the template. No need to use Widgets, since it’s not intended to be user-configurable.