Forum Replies Created

Viewing 15 replies - 571 through 585 (of 645 total)
  • I figured out how to fix the plugin. You can still keep the URL Monitoring working if you’re comfortable with some PHP hacking. Posted the solution over at http://wordpress.org/support/topic/422148?replies=14#post-1617309

    Cheers,
    Eric

    I found a fix for this bug. Disabling Redirection works, but I needed Redirection to be active, so if you’re in the same boat, here’s what you need to do. Unfortunately you’ll need to do some editing of the plugin files, as well as some fiddling in your database:

    1. The redirection problem is occurring because the plugin created a redirect when you first hit save or publish on the post/page. This means there is a row in your database that you need to remove. So either through phpMyAdmin or your favourite SQL client, log into your database and find the wp_redirection_items table (it will be wp_2_redirection_items if you’re using the Multi-User option). Under the ‘url’ column, find the one that just has ‘/’ (or if you’re on MU, it will be something like ‘/blog’). Delete that row.

    2. Try going to your front page. It shouldn’t redirect anymore. If it does, then something went wrong in step 1 above.

    3. Assuming it’s not redirecting anymore, here’s how you prevent this from happening again whenever you write a new post or page. Either through FTP or the back-end plugin editor in WP, go to redirection/models/monitor.php.

    4. Find the following:

    function insert_old_post ()
    	{
    		global $post;
    	?>
    	<input type="hidden" name="redirection_slug" value="<?php the_permalink () ?>"/>
    	<input type="hidden" name="redirection_status" value="<?php echo $post->post_status ?>"/>
    	<?php
    	}

    5. Change it to:

    function insert_old_post ()
    	{
    		global $post;
    
    		if ( $post->post_status != 'auto-draft' ) {
    	?>
    	<input type="hidden" name="redirection_slug" value="<?php the_permalink () ?>"/>
    	<input type="hidden" name="redirection_status" value="<?php echo $post->post_status ?>"/>
    	<?php }
    	}

    6. Save the file. The plugin is now fixed.

    If you need a hand with any of this, or want me to do it for you, you can get in touch through my site’s contact form: http://ericnicolaas.com/contact/

    Cheers,
    Eric

    Wow, that’s an awesome list! That list is only a month old, so I think it’s just a matter of adding in any new CSS styles that have come in with 3.0.

    Cheers,
    Eric

    The function to use is wp_nav_menu. For a basic implementation, this should work:

    1. First, enable theme support for navigation menus by adding this to functions.php:

    function your_function_name() {
    add_theme_support( 'menus' );
    }
    
    add_action( 'after_setup_theme', 'your_function_name' );

    2. Drop the following line into your header.php file where you want the menu to appear:

    <?php wp_nav_menu( array( 'menu' => 'header', 'container_class' => 'menu-header' ) ); ?>

    Note the 'menu' => 'header' bit. This means that the name of the menu to be displayed here is header.

    3. Go to your admin area and select Appearance > Menus. Create a menu and call it Header. It should now appear in your theme.

    http://codex.wordpress.org/Function_Reference/wp_nav_menu

    Eric Daams

    (@ericdaams)

    searchform.php is the form itself in the default theme. To replace the search button with a custom image, you can do this through style.css, by adding your custom image as a background image to sidebar #searchsubmit.

    Cheers,
    Eric

    Eric Daams

    (@ericdaams)

    Hmm, that’s odd. Your site is still indexed, but obviously Google has found some reason to drop it from ranking high. If you’ve sold any paid text links, or built links to your site in an unnatural way, that could explain why they might do that. Are all the articles you post unique, or are they posted on other sites as well? It might be a duplicate content issue.

    Cheers,
    Eric

    ps. I’d also suggest clearing up some of the spammy comments (ie http://hydropowerstation.com/?p=87) in case that’s contributing to the problem.

    Eric Daams

    (@ericdaams)

    Did you update your .htaccess after making the permalink change? That’s the only thing I can think of that would cause this.

    Eric

    Eric Daams

    (@ericdaams)

    Try Browsershots. You can test a stack of browsers through them and download the screenshots.

    Cheers,
    Eric

    Eric Daams

    (@ericdaams)

    Hi Vijalesh,

    I like the textures you’ve got going, especially with the wood and the top edge of the content area. My main suggestion for you would be to be much clearer about what the site is about and who it’s for. You have a little About Me text in the top right corner, but it’s out of the way and even after reading it I’m not 100% sure what your site is about. Perhaps a tagline somewhere below the header could clarify the site’s purpose?

    Eric

    Forum: Your WordPress
    In reply to: Check out my site
    Eric Daams

    (@ericdaams)

    Yeah, pretty cool design. The only bit I’d change is the navigation bar; try adding a background for the individual items, or making the fonts larger — it just seems to be a bit too minor at the moment.

    Eric Daams

    (@ericdaams)

    You also have to remove this line from div.left-navi-blog

    margin-right: 50px;

    And on div.center-blog, remove the left margin and add in float:left;

    Cheers,
    Eric

    ps. It looks ok for me in Chrome with those changes, but yes, doesn’t resize great if you go down really small.

    Eric Daams

    (@ericdaams)

    I like the site. The only thing I would change is the top level navigation — it seems to just sort of hang there. Perhaps try giving it a different background colour, or having it float to the right.

    Eric Daams

    (@ericdaams)

    Try editing this bit:

    .sidebar {float:right; width:180px; background: url(sb-top.png) no-repeat top center; padding:20px 10px 0 10px; color:#fff; font-family:verdana; font-size:.85em;}

    Change background: url(sb-top.png) no-repeat top center; to background:#fec0cb url(sb-top.png) no-repeat top center;

    Eric Daams

    (@ericdaams)

    Looks like you fixed it:) Title’s Ultrasound Chicanery on the latest post.

    Eric Daams

    (@ericdaams)

    I started off with Sitepoint’s Build Your Own Database-driven Web Site Using PHP and Mysql, which is pretty ok as an introduction. For something much more thorough, I recommend PHP and Mysql Web Development

    Cheers,
    Eric

Viewing 15 replies - 571 through 585 (of 645 total)