scotchegg78
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Problems calling CSS in a PHP pageI use…
<?php bloginfo('template_directory');?>/wp-style.cssor what ever location your file is at after the them directory.
hope it helps.
Forum: Themes and Templates
In reply to: Showing list of subpages on pagesuck 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>Forum: Themes and Templates
In reply to: Get theme relative link, not absolute (no http!)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.
Forum: Fixing WordPress
In reply to: STOP touching my BR tags!!
never took out spaces..Forum: Fixing WordPress
In reply to: STOP touching my BR tags!!was just a br tag
< code >
< / code >Forum: Plugins
In reply to: Create pages for one person/user/editor to edit?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