pennywise83
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalinks that filter both categories and taxonomiesup
Forum: Requests and Feedback
In reply to: [BUG] Wrong category if refresh post.phpMaybe if you want to check new comments?
In any case refreshing page when you are editing a post is not a common task, but the problem is still there…Forum: Fixing WordPress
In reply to: Set image class from TinyMceUP…
Forum: Fixing WordPress
In reply to: Dynamic Page templateI’ve found several unanswered post like mine about this problem, nobody can help me? ??
Forum: Fixing WordPress
In reply to: Dynamic Page templateUp…
I really need help here… anyone can help me? ??Forum: Fixing WordPress
In reply to: Dynamic Page templateup…
Forum: Fixing WordPress
In reply to: Link to last page on a paged postanyone? ??
Forum: Fixing WordPress
In reply to: Customizing wp_link_pagesUp…
I can’t style either the current page, I have an output like this:
<span class=”page”>Page:</span> 1 2</div>So I can style the “” tag but the current page doesn’t have any html tag!
Forum: Fixing WordPress
In reply to: Customizing wp_link_pagesThank you but there isn’t any option to set only the last page as “my_text”…
Can you link me some plugin ?
Forum: Fixing WordPress
In reply to: Very strange errorNot at all… I think that the plugins files were corrupted.
Forum: Fixing WordPress
In reply to: Very strange errorI’ve tried to remove the add-meta-tag but I see the same error but the last line is for askimet.php, if I remove askimet.php the last line show the next plugin and so on…
I’m programming php since 2 years and I’ve never seen things like this ??
Php is working, there is a phpbb forum on the same domain (and the same db) https://www.dragon-ball.it/forum
Forum: Fixing WordPress
In reply to: Exclude a custom field inside the loop when showing postsOk… there was a misunderstanding by my for the “loop” term, so I have this code in index.php to show the posts:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> // Print post title, post author, etc. <?php endwhile; ?> <?php endif; ?>
And this one that fetch only the posts with my custom field tag:
<?php $pageposts = $wpdb->get_results("SELECT wposts.* FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = 'my_custom_field' AND wpostmeta.meta_value = 'true' AND wposts.post_status = 'publish' AND wposts.post_date < NOW() ORDER BY wposts.post_date DESC", OBJECT); ?> <?php if ($pageposts): ?> <?php foreach ($pageposts as $post): ?> <?php setup_postdata($post); ?> <?php endforeach; ?> <?php endif; ?> // Print post title, post author, etc.
This is, almost, the code and both works, i would like to have the first query excludes the posts with “my_custom_field” = “true”.
Forum: Fixing WordPress
In reply to: Exclude a custom field inside the loop when showing postsYes, I’d like to style the sticky posts in a different way from the loop, but I want also that the sticky posts doesn’t appears in the loop… do you think that with gamerz wp-sticky is it possible ?
Forum: Fixing WordPress
In reply to: Exclude a custom field inside the loop when showing postsExactly.
I would have two boxes, the first one with the sticky posts and after another one with the rest of the posts/////////////////
STICK YPOSTS
3- post (sticky)
5- post (sticky)
////////////////////////////////
OTHER PSTS
1- post
2- post
4- post
6- post
////////////////Forum: Fixing WordPress
In reply to: Exclude a custom field inside the loop when showing postsrudolf45: ???