Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I use…

    <?php bloginfo('template_directory');?>/wp-style.css

    or what ever location your file is at after the them directory.

    hope it helps.

    uck plugins for this 🙂

    Get your hands dirty …

    use this code in your theme file…

    <div id="submenu">
    <ul>
    <?php
    if($post->post_parent)
    $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
    else
    $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
    if ($children) { ?>
    <?php echo $children; ?>
    <?php } ?>
    </ul>
    </div>
    Thread Starter scotchegg78

    (@scotchegg78)

    ive just played with editing general-template.php in WP core.

    added ..

    case 'rel_template_directory':
    		case 'rel_template_url':
    			$output = wp_make_link_relative(get_template_directory_uri());

    this is a solution i guess, but would of rathered there been something in WP as default moving forward, or even the option make links relative, absolute in the backend.

    Thread Starter scotchegg78

    (@scotchegg78)



    never took out spaces..

    Thread Starter scotchegg78

    (@scotchegg78)

    was just a br tag

    < code >
    < / code >

    Thread Starter scotchegg78

    (@scotchegg78)

    many thanks asechrest!

    funyn i was just working thought your site example!
    I am not 100% sure it will suffice but it may do.

    Teh original issue of having authors edit pages assigned to them only is still the goal i think, and i was about to try and get my hands dirty with the admin code and see if i can figure out the permissions and db calls and alter it to

    1 add the pages tab to the admin dashboard for authors to get to pages section
    2 when it loops for all pages, make it check they are either admin or editor or assigned as author. this way only the actual page would come up. thats the plan anyway 🙂

    As for contrains its not an issue, they would have to be trusted to keep content suitable and admin can always edit it if not.

    I am sure they must be an easy way doing this, see what the next few hours of work bring up. I will keep you posted on progress if your interested.

    thanks again
    scotch

Viewing 6 replies - 1 through 6 (of 6 total)