g3legacy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Google Map WoesHi, the map may well work now. Can you view some other pages on the site for me? It’s the other pages that have problems.
Thanks, dan
Forum: Fixing WordPress
In reply to: Create New Page With Different Content From HomepageOk, that makes for sense. I recommend you read up on query_posts;
https://codex.www.ads-software.com/Function_Reference/query_posts#Category_Parameters
That will allow you to filter the various post categories that show up in the loop.
It sounds to me like you will need to;
– create a new template with query_posts calling the category ( or categories ) that you want.
– Run the loop below this as normal.Don’t forget you will need to add a new category and assign new posts with that category.
Hope that makes some sense.
Dan
Forum: Fixing WordPress
In reply to: Create New Page With Different Content From HomepageHi, what do you mean when you say “different content on it that does not go on the homepage”? Just different content ( text etc ) or a different layout too?
Dan
Forum: Fixing WordPress
In reply to: Exclude all categories except chosen categories from posts pageHi, try reading up on query_posts;
https://codex.www.ads-software.com/Function_Reference/query_posts#Category_Parameters
You just put your query above your loop. You could either exclude certain categories or include certain categories. I’d go for include as you may keep adding other categories elsewhere….
Dan
Forum: Fixing WordPress
In reply to: Page fully loads then goes to blackHi, I doubt this will help in anyway, but it works fine in safari, opera and firefox on my mac….
Forum: Themes and Templates
In reply to: How can i have no spacing between images?Hi, i’ve just been looking at your style sheets. Are you referring to the images in the footer bit e.g “Current Issue” and the accompanying image?
If so, they are wrapped in .textwidget, so i’d take a look at that. The image itself have a centre alignment on it, so display:block; margin:0 auto; . I don’t see why that should be a problem. Its probably padding on the image or the surrounding div. If the surrounding div has no padding inside it should just fit to the size of the contents. Then you should just need to float them all left, they will butt up next to each other.
If your talking about different images ignore all that!
Dan
Forum: Themes and Templates
In reply to: sidebar forced to bottom in IEHi, a link to the page would be good, I can take a look for you then. Based on previous experience its likely to be something like a margin issue. What version of IE are you using?
Dan
Forum: Fixing WordPress
In reply to: Anyone know much about altering images sizes?Thanks for the info. I’m actually going to need something like that for a client so I will look into it. Ive also been looking at the unfortunately named “GIMP”. I must say, it would be better to tell the client about something other than that!
Dan
Forum: Fixing WordPress
In reply to: the_excerpt on index.php not workingLooks like the conditional statement is to do with that thumbnail….if its there you echo the_excerpt(); if its not you use the_content(); (well, if its not commented out)
Is the thumbnail showing up ok?
Forum: Fixing WordPress
In reply to: the_excerpt on index.php not workingI was wondering that too keesiemeijer, wordpress will find and excerpt anyway, you don’t have to write it in the excerpt box. It generates one by taking the first so many words from the content.
You should have something like
<?php the_title(); ?> <?php the_excerpt(); ?>
or
<?php the_title(); ?> <?php the_content(); ?>
Forum: Fixing WordPress
In reply to: the_excerpt on index.php not workingCould you post a bit more of your code? Like the whole loop or query your using?
Forum: Fixing WordPress
In reply to: Two-tier Horizontal Category menuHi, have you got a link to your site? This sounds like a CSS thing to me. I get the impression you want the primary nav to go horizontal and the secondary drop-downs to show under the parent but ALSO horizontal? That should be ok if there arn’t many things in it – otherwise you could end up off the page!
Dan
Forum: Fixing WordPress
In reply to: the_excerpt on index.php not workingHi, i’m not sure about this code:
<?php the_excerpt('Read the rest'); ?><br class="clearfloat"/>
I don’t think I have entered anything in the parentheses before. The “Read the rest” part might be screwing it up? Have you tried it without it?There is a filter method here: https://codex.www.ads-software.com/Function_Reference/the_excerpt
I’ve used that before, but not the way your doing it. I may be completely wrong so take it with a pinch of salt ; )Dan
Forum: Fixing WordPress
In reply to: Anyone know much about altering images sizes?Hi,
Its called Shadowbox JS. Its easy to modify so I like it. So far I have come to a solution. Under Settings => Media I changed the thumbnail size and turned the cropping on. Im then going to change the Medium Size to be the other type of image size I need. This should be ok as I needed one thats rectangular and one thats more square.
Still, it would be interesting to fix the shadow box thing. There is probably a way to preg_match the image url, width, height etc and then insert a rel in there and echo it out? At the moment I just don’t have enough time to look at it though….the stuff I altered in WP should do it.
Dan
Forum: Fixing WordPress
In reply to: Simple FormOh I see, so your missing the actual contact form itself? I wrote one specifically for my needs as I wanted to work out how to write one. If this isn’t important I would probably use a plugin too.