phpbay store, questions on wordpress

Status
Not open for further replies.

sasquatch

New member
May 14, 2007
267
1
0
I've bothered rgordon83 enough with my questions so I thought I would post here...

On his golf ball site
Discount Golf Balls - Cheap New and Used Golf Balls!

How does he have the menus expand and contract. On my site, the sub menus stay open. I want the sub menus to disappear if I am on a different parent category.

For example on the golf ball site
There are a bunch of menu items under Titleist

When I assign the pages to a parent, they all show up. Am I doing something wrong?

Thanks
 


I'd start here:
Template Tags/wp list pages « WordPress Codex

Even if you don't find your answer immediately, or at all, it's good to learn ALL the ins and outs of wordpress so you're not as reliant on other people answering your questions in order to be productive.

I'm not saying that to be rude... I'm saying that because I remember being "stuck" on things and not able to continue building my site, hoping other people could answer difficult questions for me. And then I dug in.

If you search google for: wordpress whatever you are trying to do

filling in whatever you are trying to do with.... well... whatever you are trying to do, you are bound to find something good

And, wordpress page codex, wordpress category codex, wordpress anyhting codex is a good search for finding the crap you need
 
I've been reading for the last two hours trying to figure this out. I can do a little PHP programming but for some reason I can't figure this one out.

Is this something simple or a plug in or am I just stupid.
 
I thought this was going to be an easy PHP code edit to take care of this. That's why it was so confusing.

The obvious thing was to look for a plugin. Found Flexipages and this solved the problem.

Thanks all
 
Can I hijack the thread now that sasquatch has found a solution?

I think I cut out to much stuff when editing my theme and now I have dead links on my posts. My pages are fine but when I post new articles under the catagories...you only see the summary and when you click on them to see the full article nothing happens... Anyone know what I might have killed when doing my editing?
 
@turbolapp:

1. Check in your code (index.php) for something like this: <?php the_content('Continue reading »'); ?>
(Continue Reading, or Read More, or whatever you have)
If it is not there, that means you took it out.

2. If that code is still there, then move your mouse to the "Continue Reading" link and see the status bar to find the URL. See if it is correct or not.

===
Does this happen from your home page, as well as from your category pages?
 
Looks like I may have :

<?php
/*
Template Name: Main Index
*/
?>
<?php get_header(); ?>
<div id="wrap-content">
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

</div>
<?php endwhile; ?>
<div class="navigation">
<div class="align-right"><?php previous_posts_link('Next Entries »') ?></div>
<div class="align-left"><?php next_posts_link('« Previous Entries') ?></div>
</div>
<?php else : ?>
<div class="post">
<h2>Page Not Found</h2>
<div class="entry">
<p>Sorry, the page you tried to access cannot be found.</p>
</div>
</div>
<?php endif; ?>
</div> <!-- end div#content -->


I guess I could just load it all back in and start over in the index.php...I don't even remember what I was trying to take out in the first place. Heh. It kind of reminds me of when I get focused on hedge cutting and I just start hacking away and suddenly I have this teeny tiny little messed up shrub...but yet there was something immensely satisfying about hacking up that shrub.
 
Sometimes in the WP template there will be a call to a *.php page template file that's formatted to display the result of that function - maybe make sure that all your page templates are there or in the right directory as well?
 
Status
Not open for further replies.