Tom Morton
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Tags not working on Edit post pageIt may be a plugin issue, have you tried deactivating them all and attempting it again?
Forum: Fixing WordPress
In reply to: Moving from wp.com to wp.org-what happens to stats?You should be able to install the WP-stats app on your self-hosted WP blog. Then, enter in your API key that you had with your WordPress.com account and you should have the option to merge the stats.
Forum: Fixing WordPress
In reply to: If The Post has been published within a weekI bow to the master
bowQuestion though: Why multiply by the seconds per day?
As I typed that, I realized why. The MySQL speaks in seconds, so how many seconds in a week? Well you’d multiply the number of seconds in a day times the number of days. So if the post is a week old, it echos.
Never mind, question answered. Still bowing. Any advice for a kid trying to break out from the pack around here?
Forum: Fixing WordPress
In reply to: Adding images to slide show for Arras theme1. It looks like it uses something like a custom field. Either look at your edit posts panel and see if there is an area to insert an image URL, or else create a custom field with the name “featured-slideshow-thumb” and value will equal your images URL
2. The dashboard is like your homepage. It is located in home.php
3. Buddypress currently does not have any privacy settings, so it is not like facebook. You could require a user to be logged in in order to see certain pages.
4. Cool concept
5. If you need additional help I would be willing to provide assistance where needed.
Forum: Fixing WordPress
In reply to: Can’t Log In once installed new widget google map – Please HELPEasiest way to regain control of your site is to login to the servers PHPMyAdmin and go to your database – wp-options and find active_plugins and delete the data it contains. This will disable all your plugins and you can then login.
Forum: Fixing WordPress
In reply to: Gallery Shortcode for REL tag?This may be redundant, but I added the code to your pastie and pasted it here: http://pastie.org/855648 – Try that as your functions.php file.
If that doesn’t work, then you may be able to forget about adding the function all together and just use the jQuery to tell the standard gallery markup to lightbox. As I said, you would paste this into your header, just before
</head><script src="text/javascript"> jQuery(document).ready(function($) { $(".gallery a, .lightbox, .gallery a[rel^='prettyPhoto'], a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'}); }); </script>Try that out and see what happens.
Forum: Fixing WordPress
In reply to: Gallery Shortcode for REL tag?Post your functions.php theme on pastie.org and link it here and I’ll take a look.
A simple way to add the jquery is to the header.php just before the ending /head tag. Where are you activating prettyphoto?
Forum: Fixing WordPress
In reply to: change text format in body of atahualpaCould you link us to the theme you are using as well as your site? I’ll take a look at it.
Forum: Fixing WordPress
In reply to: Permalinks – New Blog –The only problem I would see is any old links you had out on the web will now be broken, be sure to use something like the Redirect Plugin:
http://urbangiraffe.com/plugins/redirection/Forum: Fixing WordPress
In reply to: Posts on other pagesTry settings – Reading and make the front page a static page, and the blog page where ever you want your posts
Forum: Fixing WordPress
In reply to: Gallery Shortcode for REL tag?You can do that, but it would require modifying the core (which I have been told is a no no).
No Core Mod:
Add this to your functions.php file in your theme:add_filter('gallery_style', create_function('$a', 'return " <div class=\'gallery\'>";')); add_filter( 'wp_get_attachment_link' , 'add_lighbox_rel' ); function add_lighbox_rel( $attachment_link ) { if( strpos( $attachment_link , 'a href') != false && strpos( $attachment_link , 'img src') != false ) $attachment_link = str_replace( 'a href' , 'a rel="lightbox" href' , $attachment_link ); return $attachment_link; }and for good measure use the following jquery:
$(".gallery a, .lightbox, .gallery a[rel^='prettyPhoto'], a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});I use several different classes and attributes to cover all basis.
Core mod: go to your-wordpress-folder/wp-includes/post-template.php
Line 941 – Make it look like this:
return apply_filters( 'wp_get_attachment_link', "<a href='$url' rel='prettyPhoto[g]' title='$post_title'>$link_text</a>", $id, $size, $permalink, $icon, $text );The [g] is to allow for the “gallery” function to activate.
Hope this helps!
Forum: Fixing WordPress
In reply to: Duplicating custom header functionYou should be able to, yes.
Forum: Fixing WordPress
In reply to: Executive theame Main pageCan you link us to the theme and/or your site?
I’m not sure which theme it is. It may have an options page under the Admin-Appearance or you may have to get into the code itself.
Forum: Fixing WordPress
In reply to: using Fireworks with WordPressI’m not experienced in Fireworks, but it seems to me that you would design your site in fireworks and then code in the parts of wordpress that you are looking for. For example where your journal is, you would pull wordpress posts instead of writing them in the page.
If your not experienced in coding, I’d be happy to help. Just let me know!
Forum: Fixing WordPress
In reply to: Duplicating custom header functionYou’ll find the custom header function for the WP Default theme in its functions.php file.