neweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site not loadingPages 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 loadingI 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 ImageThanks Triptripper
I think TheThe Image Slider might be just what I’m looking for.Forum: Themes and Templates
In reply to: Background not showingIts a custom theme based on the 2010 theme
Forum: Themes and Templates
In reply to: Image AlignmentThank 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.
Forum: Themes and Templates
In reply to: Image AlignmentI 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.
Forum: Themes and Templates
In reply to: 4 box different categoryalchymyth
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.
Forum: Themes and Templates
In reply to: 4 box different categoryThis 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.
Forum: Themes and Templates
In reply to: 4 box different categoryI’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!
Forum: Themes and Templates
In reply to: Custom Theme ProblemOK I’ll give them a go
Forum: Themes and Templates
In reply to: Custom Theme ProblemI did try that but still can’t find the problem.
Its just getting the better of me.
Forum: Themes and Templates
In reply to: Start a Fresh ThemeThanks
Forum: Themes and Templates
In reply to: Style not working???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
Forum: Plugins
In reply to: Simple Portfolio Category TemplateNo, 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.
Forum: Plugins
In reply to: Simple Portfolio Category Templateanyone help with this!!!
I emailed the author of the plugin but got nothing back.
Stuck now and don’t know what to do.