Posts Tagged ‘ashland oregon’
Want to add all your pages into your buddypress admin bar automatically?
It’s easy as pie! Just add wp_list_pages to your buddypress bar with the following code!
Create a file called erocks-admin-bar-mod.php in your /plugins/ dir, put in the following code, then activate the BP Nav Bar Mods Plugin on the plugin control panel
<?php
/*
Plugin Name: BP Nav Bar Mods – Add All Pages
Plugin URI: http://erikshosting.com
Description: Add All Your Pages To The Buddypress Admin Bar Automatically!
Author: Erock
Version: 1.0
Author URI: http://erikshosting.com
*/
//Links and Menus Added To The Following Function Are Always Visible On The BP Bar
function bp_adminbar_currentsite_menu() {
global $bp;
?>
<!– Call All Pages Via A WordPress Shortcode! –>
<?php wp_list_pages(‘title_li=’); ?>
<?php
}
// Call The Function Above
add_action(‘bp_adminbar_menus’, ‘bp_adminbar_currentsite_menu’, 999);
?>
{/code}
Or How About As A Drop Down Menu?
<?php
/*
Plugin Name: BP Nav Bar Mods – Add All Pages
Plugin URI: http://erikshosting.com
Description: Add All Your Pages To The Buddypress Admin Bar Automatically!
Author: Erock
Version: 1.0
Author URI: http://erikshosting.com
*/
//Links and Menus Added To The Following Function Are Always Visible On The BP Bar
function bp_adminbar_currentsite_menu() {
global $bp;
?>
<!– Call All Pages Via A WordPress Shortcode As A Drop Down! –>
<li><a href=”#”>Pages</a>
<ul>
<?php wp_list_pages(‘title_li=’); ?>
</ul>
</li>
<?php
}
// Call The Function Above
add_action(‘bp_adminbar_menus’, ‘bp_adminbar_currentsite_menu’, 999);
?>
{/code}
Now, How About We Remove The Arrow Images From Our Non- Drop Down Menu Items
All you have to do is override the <li> tags background css attribute. It’s easy, watch..
<li style=”background:none;”>
//Insert your link url or relative url, and your link text below
<a href=”http://EXAMPLE.COM”>EXAMPLE LINK TEXT</a>
</li>
{/code}
& Bam, those drop down arrows are gone from the link.
So you already picked your permalink structure..
..Now you have thousands of posts and wish you hadn’t organized them by something silly like /%mood-your-in-when-publishing-this-post%/%post-id%/…
You could change your permalink structure, but what happens to all your inbound links? All the thousands of links you have referenced in various forums, support threads, and video game screen shot forums? You’d need to write a thousand 301 redirects to keep everything going smoothly… no dice.
Well, if you download and activate ‘platinum seo pack’ from the wordpress extend plugin repository, BEFORE you change your structure, it will automatically create 301 redirects for you.
Wait, let me guess, your reading this thread because you ALREADY changed your permalink structure..
..Now the sky has fallen and everyone you see at the yoghurt shop tells you about the 404 errors they get when trying to check the latest screenshot of you p3vvning (or however the cool kids spell it) that 6 year old in frogger3D..
..Good news. You’re not boned.
Just change the permalink structure back to whatever lameness it was before, install and activate platinum seo pack, and then re-engage the stimulator, I mean set your new permalinks.
So, I installed the Simple Facebook Connect plugin for a client, but I found that its login widget was lacking.
I prefer to use the login with ajax plugin, as it has error reporting and lost pwd functions all from the front page. There is nothing more irritating to me than having users redirected to the login.php page simply because of a miss-typed pwd. In a multi-site environment being redirected to the login page of the top level blog, totally breaks the feel of the sub-blog.
So, I have edited the login with ajax plugin to also use the simple facebook connect ‘connect with facebook’ button. This is an improvment on the SFC widget, as it has on page error reporting ( wrong pwd, etc ), and doesnt need to reload the page on login.
Requirements:
Simple Facebook Connect for WordPress Installed
Installation:
1) Install SFC WordPress Plugin and Configure
2) Download and Install my Login-With-Ajax-&-SFC Plugin
3) Add Widget Via Widgets Page,Page or Post Shorttag, or Use The Shorttag in the Template Files Itself
![]()
Download my Login-With-Ajax & Simple Facebook Connect Widget
Categories
Archives
- Automatic WP Photo Gallery From Facebook Page Photos!
- Analytics 360 For Editors
- Add nofollow rel tags to image widget
- Image Widget Alignment Fix
- Add GD Star Rating next to Post Title
- Change The Buddypress Admin Bar Logo And Link In WP3 & BP 1.2+!
- New Dashboard Lockdown & WordPress To Buddypress Profile Page Plugin!
- Hide The WordPress Dashboard and wp-admin COMPLETELY!
- Blogs & Members Directory, Strange Nav Spacing FIX
- Add All Pages To Buddypress Admin Bar Dynamically















































