wyclef
Forum Replies Created
-
Forum: Plugins
In reply to: Trouble With White Label CMS v1.3 – Insufficient Privelegesif there is any additional information i can provide to help troubleshoot this let me know
Forum: Fixing WordPress
In reply to: maintain html formatting in write panelyes, and no… basically, it would be the most logical to have some big chunks of html in the edit panel BUT i don’t want to completely lose the formatting. i tried tiny mce advanced, didn’t seem to help any. oh well, guess back to the drawing board. maybe wordpress isn’t the right tool for the job i don’t know.
Forum: Fixing WordPress
In reply to: maintain html formatting in write paneli had wanted to use WP as a simple CMS and just have 1 page template with big chunks of html just pasted in the editor so that the client can edit content but i dont want to lose all the html formatting. it seems as though there is no way around this?
Forum: Fixing WordPress
In reply to: maintain html formatting in write panelthat. sucks. what do people do to work around that?
Forum: Fixing WordPress
In reply to: maintain html formatting in write paneli guess to clarify, when i switch from html editor to visual editor and back, all of the formatting in the html is gone.
Forum: Fixing WordPress
In reply to: maintain html formatting in write paneldid this make sense to anyone?
Forum: Fixing WordPress
In reply to: how do i change guid isPermaLink?Thanks! That worked perfect.
Forum: Fixing WordPress
In reply to: Add Body ID to Control Page Elementsah, yanked this from the sandbox theme. seems to work…? wondering if it can be simplified for my purposes?
<?php $current_page = $post->ID; $parent = 1; while($parent) { $page_query = $wpdb->get_row("SELECT post_name, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); $parent = $current_page = $page_query->post_parent; if(!$parent) $parent_name = $page_query->post_name; } ?> <body id="<?php echo (is_page()) ? "$parent_name" : ((is_home()) ? "blog" : ((is_search()) ? "other" : ((is_single()) ? "blog" : "blog"))); ?>">Since I’m mainly going to be using this as a CMS I probably need only the parent name ones and the other ones can just be called other so it seems like there’d be a simpler way to list out the body tag.
Forum: Fixing WordPress
In reply to: Add Body ID to Control Page Elementsi’m trying out this way now:
<?php $page = $_SERVER['REQUEST_URI']; $page = str_replace("/","",$page); $page = str_replace(".php","",$page); $page = str_replace("?s=","",$page); $page = $page ? $page : 'default' ?> <body id="<?php echo $page ?>">but am running into a similar problem with subpages of a parent page and not sure how to fix it.
Forum: Fixing WordPress
In reply to: How to pick a rotating file (or random)I hooked this up for random, but am wondering how I could adjust it to only rotate weekly.
<? $sl = rand(1,4); include (TEMPLATEPATH.'/banner_'.$sl.'.php'); ?>Forum: Fixing WordPress
In reply to: wp_get_bookmarks helpget bookmarks seems a lot more complex than list bookmarks? is that the only way to go about removing the ul and li tags?