Hax
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove “Site Admin” footer link.This should do the trick, it will only display the links if an administrator is logged in
<?php if( current_user_can( 'administrator' ){ ?> <!--ADD YOUR LINKS HERE --><?php } ?>Forum: Fixing WordPress
In reply to: Page Content Doesn’t Show Up!start- up de-activating all your plugins to check if one of them is the problems also remove any drop-in plugins that you may have.
if that doesn’t work do a clean installation of wp3.0 back up all your all site files and database
Actually yes you can alway update all your worpress installation just don’t change your upload folder inside your wp-content. Make a back up of this folder because if you modify it your images and all related items are going to loose their links.
delete all your files intall wp 3. clean on the same database and start re-installing plugins one by one
Forum: Fixing WordPress
In reply to: Question About Designing a Themeyou can do what you want with the code that I gave you; you get the images/logos with get_posts( array( ‘posts_type’ => attachments )) and display the logos with your custom html/css and just remove the loop
<?php query_posts( array( 'numberposts' => 1) );?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <!--the content to display here--> <?php endwhile; endif; ?>or you can use a page for home page and add your custom html on the page to change your home page to a page instead of a list of posts go to settings > reading > Front page displays > Front page: and change it to the page that you wan to use as home page.
Forum: Fixing WordPress
In reply to: Question About Designing a ThemeThen you just need to do a
$gallery = get_posts( 'parameters_here' )which will return just the post that you want and display your content like soecho $gallery[0]->post_content. your not going to be able to use the loop functions for the post.This is not going to affect your loop at all. so you should be able to display your loop below.
http://codex.wordpress.org/Function_Reference/get_post
http://codex.wordpress.org/Function_Reference/get_postsForum: Fixing WordPress
In reply to: tabmmm not your what you want to do. do you have a url to an example.
do you want a tab in your navigation, widget, category? do you now css?
Forum: Fixing WordPress
In reply to: Get a posts categoryTry
<?php foreach( (get_the_category( $post->ID ) ) as $category) { echo $category->category_nicename . ' '; } ?>http://codex.wordpress.org/Function_Reference/get_the_category
Forum: Fixing WordPress
In reply to: Custom fields in RSS feeds?The loop doesn’t affect your RSS at all if you. if you know about filters you have to modify your RSS creating using
<?php add_filter('rss_head', 'your_custom_fucntion_here') // rss 0.9 ?> <?php add_filter('rss2_head ', 'your_custom_fucntion_here') // rss2 ?> <?php add_filter('atom_head ', 'your_custom_fucntion_here') // atom ?>I cant’t really give you the whole code at the moment but if you need all the code I may be able to write it later on if not read a bit about the hooks here
Forum: Fixing WordPress
In reply to: How to change a category’s <title> ?Try; adding a description to your category and make sure that your theme has the
<?php wp_head(); ?>function on your header.php fileForum: Fixing WordPress
In reply to: comments not workingDid you made any changes at all? anything?
at the moment try updating your permalinks don’t change anything just click save to see if that fixes your issue.
Forum: Fixing WordPress
In reply to: Question About Designing a Themeif you already read the documentation of themes http://codex.wordpress.org/Theme_Development this is what you do just to get one post on you index.php file
<?php get_header(); ?> <?php query_posts( array( 'numberposts' => 1) );?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <!--the content to display here--> <?php endwhile; endif; ?> <?php get_footer(); ?>Forum: Plugins
In reply to: Trying to fix hover with IE – csshover.htc or ie8.jsNot sure where the javascript comes from, it may be from your header.php file form your functions.php or a plug in.
but yes start looking at your header.php file then on the functions.php of your theme. and if its a plug in it my be more difficult. if you have dreamwaver you can do a search on all your folder and just search for a spesific work on the javascript like
(window.attachEvent)Try deactivating all your plugins, changing your theme to the default one. remove all the plugins from the plugin folder install 3.0. replace all files except wp-content, wp-config.php, .htaccess . and then try activating one plugin at the time one of your plugins my not be compatible or your theme.
Forum: Fixing WordPress
In reply to: Show all posts by author – including custom posts typesno when you create a new post
wp_insert_post()you have to be sure that you assign your custom post type and author id, check you database to be sure that your new post and post type have an author assign to it.http://codex.wordpress.org/Function_Reference/wp_insert_post
Forum: Fixing WordPress
In reply to: Show all posts by author – including custom posts typesjust creating custom post types will not, you have to be sure that the author is been assign to the post type (photos) also if you want this post type to show in categories(taxomony) you need to sign it to the new custom post type. here is a good plug in that can show you visually want is assign to what and you can modify taxonomy too.