Forum Replies Created

Viewing 15 replies - 1 through 15 (of 61 total)
  • Forum: Fixing WordPress
    In reply to: Site not loading
    Thread Starter neweb

    (@neweb)

    Pages where loading blank, the site would redirect to another site. I could not load the login page. And it had problems connecting to the database.

    Forum: Fixing WordPress
    In reply to: Site not loading
    Thread Starter neweb

    (@neweb)

    I installed it to dublinchauffeurs.com

    It caused a lot of problems on the site so it had to be removed.

    Anytime I install WordPress on a site I always download a fresh install from WordPress to make sure I have the most up to date copy.

    Forum: Fixing WordPress
    In reply to: Changing Image
    Thread Starter neweb

    (@neweb)

    Thanks Triptripper
    I think TheThe Image Slider might be just what I’m looking for.

    Thread Starter neweb

    (@neweb)

    Its a custom theme based on the 2010 theme

    Thread Starter neweb

    (@neweb)

    Thank you very much for that.
    I put the code above into the site and the images all popped into their correct position.

    Your help is very much appreciated.

    Thread Starter neweb

    (@neweb)

    I did but its not showing the code.

    Its only showing
    class="size-full wp-image-30 alignright"

    There is no such class in the style sheet.

    Thread Starter neweb

    (@neweb)

    alchymyth

    I used your code and it’s displaying the posts as expected.
    Thanks for the code.

    Now I have a working model I can play around with it.

    Thread Starter neweb

    (@neweb)

    This is getting so frustrating. I’m only new to php and I’m really trying my best to get this working and to understand it. The codex has no working examples of what you need in the page. Every time I try a bit of code I get nothing on the page. The codex is not very clear for beginners.

    I took the code out and replaced it with the following.

    <?php
    
    // The Query
    $the_query = new WP_Query( $args );
    
    // The Loop
    while ( $the_query->have_posts() ) : $the_query->the_post();
    	echo '<li>';
    	the_title();
    	echo '</li>';
    endwhile;
    
    // Reset Post Data
    wp_reset_postdata();
    
    ?>

    This is the code on the entire page. Its a custom template that I want to use on my home page and I want to edit the page to change the up most information on the fly while the 4 boxes change as a new post is added to a category.
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Frankly I’m loosing all hope in the codex pages as I have never got anything to work after studying them.

    Everything I add to the completely custom design is taking 3-4 days to get working and I’m getting so frustrated with it now.

    Thread Starter neweb

    (@neweb)

    I’ve managed to get the following code to work.

    <?php
    
             $type = 'post';
             $args=array(
                'post_type' => $type,
                'post_status' => 'publish',
                'posts_per_page' => 1,
                'caller_get_posts'=> 1,
                'meta_key' => 'box',
                'meta_value' => '1'
             );
             $my_query = new WP_Query($args);
             if ( $my_query->have_posts() )
                while ( $my_query->have_posts() ) :
                   $my_query->the_post(); ?>

    I’d like to change the following part so that it points to a category and not a meta key

    'meta_key' => 'box',
                'meta_value' => '1'

    The idea is that the post will go to the relevant box based on its category. Any idea how to do this with the above code!

    Thread Starter neweb

    (@neweb)

    OK I’ll give them a go

    Thread Starter neweb

    (@neweb)

    I did try that but still can’t find the problem.

    Its just getting the better of me.

    Thread Starter neweb

    (@neweb)

    Thanks

    Thread Starter neweb

    (@neweb)

    I did but could not find anything wrong with the code.

    The funny thing is, I got the style working for text and stuff but can’t get the height of the table cells to work as I would like.

    Its just baffling as to why some bits would work and others won’t

    Thread Starter neweb

    (@neweb)

    No, still no solution.

    I’m thinking of taking the plugin off the site as the support for it is really bad.. Its a simple request and yet still no reply.

    Thread Starter neweb

    (@neweb)

    anyone help with this!!!

    I emailed the author of the plugin but got nothing back.
    Stuck now and don’t know what to do.

Viewing 15 replies - 1 through 15 (of 61 total)