Forum Replies Created

Viewing 15 replies - 31 through 45 (of 335 total)
  • There are already a lot of solutions to this.
    The one I’ve used before is here
    And remember, google is your friend.

    Alex Cragg

    (@epicalex)

    You can do this using Custom Loops, have a read of these pages, and then if you have any more questions, post back.
    http://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
    http://codex.wordpress.org/Template_Tags/query_posts

    Alex Cragg

    (@epicalex)

    OK, I haven’t tested this, but I hope that it works! 🙂
    Its a lot simpler than before:

    <?php
    $my_custom_field = get_post_custom_values('portdetail');
    foreach ( $my_custom_field as $key => $value ) {
    echo "<li><img src='http://gdesignstudio.nl/wp-content/uploads/" . $value . "' /><li/>" ;
    } ?>

    get_post_custom_values($key) gets a list of the values for the given key on the post you are viewing, and stores them in an array.

    Let me know if that works…

    Alex Cragg

    (@epicalex)

    Just to clarify what Haochi said and to answer your questions more directly, the ‘WordPress Directory Structure’ has no impact on your PR. Your homepage links to posts, just as with any other non-WordPress site.

    Regarding your question about duplicate content, the two permalink structures point to the same place, the content isn’t there twice.

    On to the grey vs white issue, a quick google search brings up the fact that if it is white, but with 0, then it indexed in google, just doesn’t have a 1PR yet. If it is grey, it has none, even those articles that have links to them: don’t forget, you don’t get PR just for a link, the linking page needs PR too. Hovering over the grey bar shows you the text ‘No PageRank information available’ – this is often the case with new posts

    Hope that helps, but as Haochi said, these are SEO/Google questions, not WordPress

    Alex Cragg

    (@epicalex)

    I just want to check that I understand what you are trying to do. You said

    I use this value
    multiple times I would like to display it multiple times to

    and that you are using the loop. Does this mean that you want to display the custom field value for each post displayed in that loop, and have that custom value be relative to the post?

    Do you mean that portdetail is the ‘key’, or the ‘value’?

    Once I’m clear on that I might be able to help.

    Alex

    Alex Cragg

    (@epicalex)

    OK, I’ve had a bit of a look, and from what I can see, there are four jquery ajax calls being made:

    GET http://mydomain.com/wp-admin/index-extra.php?jax=incominglinks
    GET http://mydomain.com/wp-admin/index-extra.php?jax=devnews
    GET http://mydomain.com/wp-admin/index-extra.php?jax=planetnews
    GET http://mydomain.com/wp-admin/index-extra.php?jax=plugins

    Is that file in your wp-admin?

    Have you got the firefox firebug plugin? If you use that you might be able to see what is happening wrong, like if there is a timeout set that shouldn’t be etc, or if it is just failing somehow.

    Alex

    Forum: Fixing WordPress
    In reply to: Dynamic Stylesheet
    Alex Cragg

    (@epicalex)

    Simply change
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    to
    <link rel="stylesheet" href="http://mydomainname.com/wp-content/themes/limau-orange-01/style.php" type="text/css" media="screen" />

    Alex Cragg

    (@epicalex)

    To edit your theme, it is best to use an FTP client to make changes, but this can also be done by going to Design>Theme Editor on your admin pages.

    Click on the relevant file and copy your ga.js in.

    Forum: Fixing WordPress
    In reply to: Dynamic Stylesheet
    Alex Cragg

    (@epicalex)

    Did you add this to the top of your style.php?:
    <?php header("Content-type: text/css"); ?>

    Also, to make WordPress look for the correct file, open your header up and add this
    <link rel="stylesheet" type="text/css" media="screen" href="style.php">

    Hope that works

    Alex

    Alex Cragg

    (@epicalex)

    You need to add a CSS rule for that li item, so li.pagenav and add a list-style: none; to it.

    Also, you want to get these errors sorted:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.complete-diet-guide.com%2F
    Lots of incorrectly nested items.

    Alex

    Forum: Plugins
    In reply to: First image from post
    Alex Cragg

    (@epicalex)

    By default, using the_content allows images to be displayed in a post, but you will also have text displayed. This is what is used on a normal single post view.

    On the other hand, the_excerpt can limit that text, but it cuts out images.

    So, how to go about it, I can think of two different methods, have a read on both and see what you think.

    1. Use the following plugin: The Excerpt Reloaded, and look at the allowedtags parameter.

    2. Read on Custom Fields, and then create a custom loop to show them.

    Post back if you have any further questions.

    Alex

    Alex Cragg

    (@epicalex)

    Calum,

    I think there is a way you can address the problems that Whooami is talking about using CSS.

    If you haven’t checked yourself yet, what happens with JS off is that all you tabbed content becomes a vertical list. The background to this list is a grey, and so is your text, so in effect it is invisible. The grey that is taking up all that background actually comes from an h2 tag that doesn’t seem to display the same with JS on. Because of this, changing the following CSS will not affect your JS on appearance, but it will improve your JS off appearance.

    Look at line 337ish of your CSS file and change the following:

    #homepage h2
    background:#202020 none repeat scroll 0%;
    color:#FFFFFF;

    to

    #homepage h2
    background:#FFFFFF none repeat scroll 0%;
    color:#202020;

    This should then give you a nice display for JS off visitors.

    EDIT: Just checked again, and doing this changes the bottom two box headers, to get around that, add this to your CSS:

    .homebottomleft h2, homebottomright h2 {
    background: #202020;
    color: #FFFFFF;

    Alex

    Alex Cragg

    (@epicalex)

    I hate to tell you this, but bumping like that isn’t helping you much. Most helpers in this forum look for unreplied to topics, and seeing 11 posts, they might think someone is already helping them. Instead, try detailing the problem more thoroughly, like do they ever load, does clearing the cache help, have you tried a complete fresh install?

    Alex Cragg

    (@epicalex)

    I think this is possibly the problem you are having, but this ticket seems to be more about the approved notification than a moderation notification, so sorry if this isn’t right:

    http://trac.wordpress.org/ticket/6892

    Alex Cragg

    (@epicalex)

    Have you had a look at http://wordpress.org/extend/plugins/wp-sticky/ ?

    That plugin adds a drop down selection to the write post page so you can mark the plugin to stay at the top of the list, and effectively featured.

Viewing 15 replies - 31 through 45 (of 335 total)