yeleek
Forum Replies Created
-
Forum: Plugins
In reply to: single post in certain CategoryThats spot on – thank you Moshu
Forum: Plugins
In reply to: How would i do this?I know sometimes on this forum people come and ask questions for paying clients, and the above ‘end user’ may have sounded like that. Its actually for our church website so there is no payment going on ?? Thanks
Forum: Your WordPress
In reply to: Fraternity Site using Word PressThere are good bits to be fair to him. Logo and the blue i actually like. Times new roman (or whatever it is) is a no-no for me. And i’d do away with the use of black text all together.
Forum: Your WordPress
In reply to: Critique on my site please!Change the settings your using for the header image. The text and company logo looks ‘noisy’.
Add a mini-loop and get the latest news article(s) on the front page…. Get rid of big user forums logo, something smaller in a less prime place.
Lose the counter – a good site should have (in my opinion) no need to publicly show the number of hits.
Lose the splash screen, sponsor logo is on main page anyway.
Forum: Installing WordPress
In reply to: Upgrade 2.2.1 to 2.2.2 but database not need upgrading?Fair enough – thanks
Forum: Plugins
In reply to: Static front page with mini loopIronically – found a different example and it works…
<div id="left"> <h2>Latest News</h2> <?php $posts = get_posts( "category=3&numberposts=5" ); ?> <?php if( $posts ) : ?> <ul> <?php foreach( $posts as $post ) : setup_postdata( $post ); ?> <li> <a href=<?php the_permalink() ?>> <?php the_title(); ?> </a> </li> <?php endforeach; ?> </ul> <?php endif; ?> </div> <div id="right"> <h2>Latest blog</h2> <?php $posts = get_posts( "category=4&numberposts=5" ); ?> <?php if( $posts ) : ?> <ul> <?php foreach( $posts as $post ) : setup_postdata( $post ); ?> <li> <a href=<?php the_permalink() ?>> <?php the_title(); ?> </a> </li> <?php endforeach; ?> </ul> <?php endif; ?> </div>
Forum: Plugins
In reply to: Static front page with mini loopStruggling with this… Been through loads of forum articles. Given the standard mini loop (below) what do i need to add to get it to look in a specific category?
<?php $how_many=5; //How many posts do you want to show require_once("wp-config.php"); // Change this for your path to wp-config.php file ?> <ol id="whats-new"> <? $news=$wpdb->get_results("SELECT <code>ID</code>,<code>post_title</code> FROM $wpdb->posts WHERE <code>post_status</code>= \"publish\" ORDER BY 'ID' DESC LIMIT ".$how_many); foreach($news as $np){ printf (" <li><a>%s</a></li> ", $np->ID,$np->post_title); }?> </ol>
Thanks
Forum: Plugins
In reply to: Static front page with mini loopOK will do – ta.
Forum: Plugins
In reply to: Static front page with mini loopAsked if people have done it successfully, for examples – and asked if you can have two different catagories coming on the same static page.
Forum: Plugins
In reply to: Static front page with mini loopanyone – please?
Forum: Fixing WordPress
In reply to: Complete post also appear as a commentAin’t the theme then….
Made any alterations to any WP files?
Take a look at this
https://edwards.org/2006/03/07/subscribers-only-plugin-for-wordpress/Forum: Fixing WordPress
In reply to: Complete post also appear as a commentTry the kubrick theme (comes with WP) – does problem still occur?
Forum: Installing WordPress
In reply to: Updating to Current Version ManuallyForum: Installing WordPress
In reply to: 2 errorsJust to confirm – you following the instructions here?
https://codex.www.ads-software.com/Installing_WordPress#Using_cPanel
i.e. “You should see the username you just added to the database (with ALL PRIVILEGES)”