rosschapman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show Image URL in Media Manager – WordPress 2.7edit the media.php file located in wp-admin/includes and change the line
$filename = basename($post->guid);
to
$filename = $post->guid;
now go into your media library, click edit on the desired file, and there’s your URL!
Forum: Fixing WordPress
In reply to: Get attachment url from the media manageredit the media.php file located in wp-admin/includes and change the line
$filename = basename($post->guid);
to
$filename = $post->guid;
now go into your media library, click edit on the desired file, and there’s your URL!
Forum: Plugins
In reply to: pageMash errorjmash:
firebug console shows:
POST https://my-site.com/wp-content/plugins/postmash/savelist.php 500 internal server error
also shows:
Error: update confirmation not recieved
i realized that my site is actually symbolically linked to public_html and wondering if that’s causing some confusion with the ajax call?
console response tab shows:
<html> <head> <title>500 Internal Server Error</title> </head> <body> <h1>Internal Server Error</h1> <p>Directory "/home/rlafree/dev/v1/wp-content" is writeable by group</p> <hr/> <address>suPHP 0.6.3</address> </body> </html>
any ideas? thanks.
Forum: Fixing WordPress
In reply to: You do not have permission to preview drafts.I noticed this problem once I moved my WordPress installation to a sub directory. Wonder if that is affecting things.
Forum: Alpha/Beta/RC
In reply to: WordPress/plugin upgradeThis article may be helpful in explaining what files need permissions changed:
https://www.chrisabernethy.com/why-wordpress-asks-connection-info/
Forum: Fixing WordPress
In reply to: Upgrade folder in wp-content – is it supposed to be there?I noticed the same thing. Bump! ??
Forum: Plugins
In reply to: pageMash errorsame problem for me. running and php5 and still get error.
Forum: Fixing WordPress
In reply to: Remove P tags when outputting contentsweet!
Forum: Fixing WordPress
In reply to: Remove P tags when outputting contenti checked out the disable wpautop plugin. fine, unless you just want to eliminate p tags for a particular part of your template file or theme. anyway, the plugin is only the following 2 lines, which remove the automatic p tag filter for template tags in the wp-includes/default-filters.php file:
remove_filter ('the_content', 'wpautop'); remove_filter ('comment_text', 'wpautop');
but you could add these lines manually to your template file like so and you’re good:
<?php remove_filter ('the_content', 'wpautop'); ?> <?php the_content(__('Read more'));?>
I used it in a situation for a page template where the_content displayed an embedded flash movie. no need for p tags! ??
Forum: Fixing WordPress
In reply to: How do i sort posts by a custom field?Hi oskarlin,
A client of mind just requested this feature. Great timing! Do you mind posting your solution so the community can benefit? Thanks!!