Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter rmarce

    (@rmarce)

    The issue is not with the src of the image (the link, so to speak). The problem is where I include that link in my code. The image src code has been commented out, so technically it should be “invisible” to websites. Indeed, the image IS invisible, since if I uncomment my code, the image appears on the website, and if I comment it back out, it disappears. However, since this is the ONLY place a link to the image exists on my entire website, it must be the case that facebook is grabbing its thumbnail for my site (which is this image) from here. I just don’t understand how it can do that if the code is commented out.

    Thread Starter rmarce

    (@rmarce)

    I half-see the problem. In my header, I had done the following (so long ago I forgot about it!):

    <!– <div id=”site_background”><img src=”http://fc01.deviantart.net/fs19/i/2007/248/b/4/Robin_Of_Loxley_by_ChrisRawlins.jpg”></div&gt; –>

    The thing is, it IS commenting out this code because if I take out the <!– and –> part, the picture appears on my homepage, and if I “comment it back out,” the picture goes away. Somehow, facebook must still be snatching the image, but I don’t see how if it’s commented out. Does anyone know? This is the only place this image appears in my code.

    Thread Starter rmarce

    (@rmarce)

    I’ve gone through and changed the title, and I think clicking “Subscribe in Mail” works, even though nothing seems to happen at the time, but for some reason meta description is still not registering

    I had the same problem, and the issue was that I had put something in my content area (a picture) that stretched beyond the defined area. As a result, the sidebar was getting pushed down to fit. You can either resize what’s in your content area to be smaller, or change the size of your sidebar to be smaller in your style.css.

    Thread Starter rmarce

    (@rmarce)

    When I click the feed link, I get taken to the feed page. But if from the feed page I then click “Subscribe in Mail” (which I assume should subscribe me to the feed – I’m new to RSS so I’m not really sure…) nothing happens. It doesn’t matter if I’m logged in or out. Also, as you noted, the title of my site is “R.M. ArceJaeger …” but the title of my feed is “rmarcejaeger.com”

    Forum: Plugins
    In reply to: Meta description trouble
    rmarce

    (@rmarce)

    If you place a < meta > description in the <head> section of your header.php file, then it will override any and all other meta description tags, causing the same description to appear on all posts. To prevent that, you need to wrap your description in an if statement.

    See my blog post here for the code I used to fix this problem on my website: http://rmarcejaeger.com/2011/03/14/seo_meta_description/

    Forum: Fixing WordPress
    In reply to: Meta Description
    rmarce

    (@rmarce)

    That code above is good, although if your front page is a static page, then both your home page and your blog will share the same description. If you want to differentiate between the two, place the is_front_page() and is_home() in different if statements (is_home is actually your blog page, whatever you yourself might consider to be your “home” page)

    Thread Starter rmarce

    (@rmarce)

    This is what I ended up doing. I think it takes care of all contingencies. I put it in the head part of my header

    <?php 
    
    	if ( is_singular() )
    	{
    
    		if ($seodescription = get_post_meta($post->ID, "my_description", true))
    		{
    			?>
    			<meta name="description" content="<?php echo $seodescription; ?>" />
    			<?php
    		}
    		else
    		{
    			?>
    			<meta name="description" content= "<?php echo get_bloginfo( 'description' ); ?>" />        <!-- THE TAGLINE OF YOUR BLOG -->
    			<?php
    		}
    	}
    
    	elseif ( is_home() )    // THE BLOG PAGE
    	{
                    ?>
    		<meta name="description" content= "Pens & PCs is blog featuring well-informed articles about writing and computers, among other topics."; /> <!-- THE TAGLINE OF YOUR BLOG -->
    		<?php
    	}
    
    	elseif ( is_category() )
    	{
    		if ( is_category("Other") )
    		{
    				?>
    				<meta name="description" content= "Pens & PCs blog posts about a variety of topics."; />
    				<?php
    		}
    
    		elseif ( is_category("Writing") )
    		{
    				?>
    				<meta name="description" content= "Articles about writing from the blog Pens & PCs."; />
    				<?php
    		}
    
    		elseif ( is_category("Computers") )
    		{
    				?>
    				<meta name="description" content= "Articles about computers from the blog Pens & PCs."; />
    				<?php
    		}
    	}
    
    	else
    	{
    		?>
    		<meta name="description" content= "<?php echo get_bloginfo( 'description' ); ?>" />	<!-- THE TAGLINE OF YOUR BLOG -->
    		<?php
    	}
    
    	?>

    Thread Starter rmarce

    (@rmarce)

    I did that, but it still is not registering it as meta data for the whole webpage.

    Thread Starter rmarce

    (@rmarce)

    That did indeed fix the problem – thank you so much!

    SUMMARY OF FIX:
    1. See if you added a border to either the content or the sidebar area. If you extend the width of one by using a border, then you must decrease the width of the other by that amount, or else they will no longer fit next to each other and the sidebar will get pushed down.
    2. Depending on your theme (e.g. I’m using a child theme), you may need to put !important in your width adjustment in order for the change to be reflected on your page.

    OTHER FIXES:
    1. Some people have errors in their HTML code, and this is causing the problem (this was not my case, but it may be yours). Check your page code by entering your url at http://validator.w3.org/

    Thread Starter rmarce

    (@rmarce)

    I already did =)

    Thread Starter rmarce

    (@rmarce)

    Thanks stvwlf! I’m new to the language, so I didn’t realize that I needed to wrap it — I thought because the file was saved as a .php, it was automatically interpreted that way, not as html.

Viewing 12 replies - 1 through 12 (of 12 total)