Forum Replies Created

Viewing 15 replies - 1 through 15 (of 44 total)
  • Thread Starter adeking

    (@adeking)

    Hi,

    Just an update – I cannot go to add / edit page either. On the right hand side, the publish settings have been expanded, which is the only visible difference between the normal screen I am used to seeing.

    Thanks

    Adrian

    Forum: Fixing WordPress
    In reply to: User Roles query
    Thread Starter adeking

    (@adeking)

    Any ideas?

    Please please???

    Thread Starter adeking

    (@adeking)

    Hi Sadish,

    I have taken this off as resolved just so I can ask another quick question. The sub-links for parent pages are working, however when you then click into a sub-page becasue the code is only looking to see if the “active” page has a parent – the navigation disappears. The best way to show this is for you to look at my blog.

    https://www.macmillan-academy.org.uk/staff_blogs/mrking/?page_id=13

    On this page I have created two sub-pages testing 123 and test. When the user clicks on testing123 I need the navigation for test to still be visible. The code I have used in my sidebar is below.

    <?php
    $sub_pages = wp_list_pages( 'sort_column=menu_order&depth=2&title_li=&echo=0&child_of=' . $id );
    if ($sub_pages <> "" ) {?>
     <div class="box-1">
                <div class="box-h">  
    
    	<h4><?php the_title(); ?></h4>
    
    <ul><?php echo $sub_pages; ?></ul>
    </div>
    	</div>
    	<?php }?>

    Hope you can continue to help….

    Thread Starter adeking

    (@adeking)

    Hi Sadish

    IT works!!!!!

    Love you!!!!!

    Thread Starter adeking

    (@adeking)

    Hi Sadish,

    Thanks very much for your reply. I have downloaded your excellent theme and am looking through it now.

    I cant find anything that looks like it could help on page.php, do I need to look through page-links.php? Or possibly sidebar.php?

    Is the functionality you are talking about on your theme options page? And if it is – does that mean it cannot be easily transfered to my theme?

    Thanks – and sorry for all the questions.

    Adrian

    Thread Starter adeking

    (@adeking)

    Hi,

    Thanks for all your help epicalex but I am useless at PHP code – just a beginner really.

    I have been playing around with the code you sent, but I am not getting it to display the correct level of navigation.

    If annyone else would like to suggest a tutorial – or a piece of code that works then I will be over the moon!!!

    thanks

    Adrian

    Thread Starter adeking

    (@adeking)

    Hi,

    Yea, cheers this is what I am after. I too hada similar idea, but didnt know how to implement. I will see what I get with that.

    Any other suggestions most welcome….

    Thread Starter adeking

    (@adeking)

    Hi,

    Sorry, but I am not looking for a collapsable menu. I need to display ONLY the second tier of pages for a specific parent.

    Thanks for your reply.

    Adrian

    Thread Starter adeking

    (@adeking)

    Hi,

    Thanks for your reply, the democracy plugin seems to work really well, can it be implemented into the sidebar?

    The one thing I have noticed about the democracy polls widget is that you can vote an unlimited amount of times. The wp-polls widget must store a cookie on the computer stopping people from having multiple votes, and yes it tracks ip too.

    adeking

    (@adeking)

    I have just checked and the problem is there on mine (ie6)

    The enstires at the bottom of the page seem to be reading a different css class and that is making the text larger, which in turn is cutting off parts of the entries.

    Not sure how to resolve…

    Thread Starter adeking

    (@adeking)

    Hi,

    Thanks for your reply. I was already aware that I had a missing div and this makes no difference. Also the closing of br makes no different either. The code for page.php is below, it would be greatif someone could have a quick look over to see if it is missing anything.

    <?php get_header(); ?>
      <div id="main-c">
        <div id="main">
          <div id="bigger">
            <div class="bar-head"></div>
            <a id="go-content"></a>
          <br />
    	   <h2 class="pagetitle"><?php the_title(); ?></h2>
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="entry" id="post-<?php the_ID(); ?>">
    
    				<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    
    				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
    		</div>
    				<?php comments_template(); ?>
    
    	  <?php endwhile; endif; ?>
    	 <div style="margin:15px"><?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?></div>
    </div>
    
    <?php get_sidebar(); ?><?php get_footer(); ?>
    </div>

    Thanks

    Thread Starter adeking

    (@adeking)

    Hi,

    I have managed to resolve this issue, thanks for your replies.

    I do however get a squiffy design if I DO NOT allow comments.

    I have created such a page for you to look at (if you do not mind)

    As you can see from this link – https://www.macmillan-academy.org.uk/staff_blogs/mrking/?page_id=13

    The navigation bar is in the main content area. On the resources page however (where I have ALLOWED comments) the design is fine.

    Any suggestions would be great.

    Thanks

    Thanks.

    Thread Starter adeking

    (@adeking)

    Hi doodlebee,

    Thanks for your comments, they are very helpful. I can copy the form of the default template files, but what I really need to know, is where would this code then be pasted into?

    Which file do I need to edit?

    Thanks

    Adrian

    Thread Starter adeking

    (@adeking)

    Hi Samboll,

    Thanks for your reply, I will just ignore them for now then.

    Thanks

    Adrian

    Thread Starter adeking

    (@adeking)

    Does anyone have any ideas?

    Is this just a limitation of the theme. What file can I look at to add this form onto newly generated pages?

    Thanks

    Adrian

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