visaap
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Excluding Multiple Pages with (exclude_tree)This is very usefull!
Thanx TechnokineticsForum: Requests and Feedback
In reply to: Add page Class has_childrenUsing jQuery will allow you to have hasChild in your navigation on the right places!
To accomplish this feature:
- Open header.php from your theme.
- Paste the following code just above
<?php wp_head(); ?>
:
<?php wp_enqueue_script('jquery'); ?>
- Paste just below
<?php wp_head(); ?>
:
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/behaviors.js"></script>
- Save and close header.php
- Create a new folder in your theme named ‘js’
- Create a file inside this new folder named ‘behaviors.js’
- Paste the following code inside this new file:
jQuery(document).ready(function(){ jQuery("#pages li:has(ul)").addClass("hasChild"); });
- Save and close behaviors.js
Read more about wp_enqueue_script
Forum: Requests and Feedback
In reply to: Add page Class has_childrenThat would be very nice to have; a class=”hasChild” for parent-pages/-posts. Even 5 months later there’s no-one who has encountered the same needs for such a class?
Forum: Fixing WordPress
In reply to: Error when logged in as ContributorAs I have installed WP-Super-Cache and recently updated it to 0.8.8 I will stick to an other post named [Plugin: WP Super Cache] Warning message and No Favorite Menu in admin header for an solution for the warning.
Joober1212 you should have searched this forum a bit longer ??Forum: Fixing WordPress
In reply to: Error when logged in as ContributorCame along this post while searching for a solution what joober1212 already stated. I have noticed this warning in the dashboard-header while I helped out a contributer. As far as I can see the contributor can still edit their pages as normal; I don’t get any complains (yet).
Hopefully there is an answer for this warning.BTW: Used a fresh WP 2.7 install
Forum: Fixing WordPress
In reply to: Insert image box is blankMmm, just written how relieved I was with that simple solution. Went straight back to the post I was working on, inserted an image like I was used to do and had no problem doing so… Wanted to open an other site and guess what…
I had four tabs open in FF and it worked. Although the try-out was actually in one tab.
Probably just need to do it once in one tab???Forum: Fixing WordPress
In reply to: Insert image box is blankSeveral different given solutions I found on the web and the most simple one works!
Just have the website open in your browser where you are working in. Close all other websites. Just the one where you are inserting an image in your post!