prettynerd
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Plugin for a media library that is embedded in the sitei have the same concern.. has someone solved this problem yet?
Forum: Fixing WordPress
In reply to: how to get/query posts given a post_contenti found the solution myself! ehe..
<?php
$keyword = “keyword”;
$args = array(
‘post_type’ => ‘attachment’,
‘numberposts’ => -1,
‘post_status’ => null,
‘post_parent’ => null, // any parent
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $post) {
if(trim($post->post_content)==$keyword){
setup_postdata($post);
the_attachment_link($post->ID, false);
}
}
}?>
if someone can help me make this shorter, please do.. =)
it has been 3 months since the last post, but i’m still eager to help.. =)
awardspace redirects you to an error 404 page when installing or activating a wordpress plugin. here’s the solution to this problem and a brief explanation why you are getting this error.
http://www.prettynerdworld.com/tech-tips/awardspace-wordpress-error-404-solution
Forum: Fixing WordPress
In reply to: redirected to an awardspace 404 pageawardspace redirects you to an error 404 page when installing or activating a wordpress plugin. here’s the solution to this problem and a brief explanation why you are getting this error.