borbs
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Few issues with Previous PostsJust for the record, this is my SINGLE.PHP.
<?php get_header(); ?> <?php require_once (get_template_directory() . '/inc/mobile/Mobile_Detect.php'); $detect = new Mobile_Detect; ?> <?php while ( have_posts() ) : the_post(); ?> <?php echo do_shortcode('[ajax_load_more previous_post="true" previous_post_id="'.get_the_ID().'" post_type="post" transition="none" posts_per_page="1" scroll_distance="500" max_pages="0"]'); ?> <?php endwhile; ?> <?php wp_footer(); ?> </body> </html>
Forum: Fixing WordPress
In reply to: Multiple intallations, one URL structureOk, looking into index.php, MAYBE if I could make the htaccess call like a “index_old.php” if the user goes to /old/, would it work?
Like, if the user goes to domain.com/old, it loads the index_old.php in the root folder; if the user goes to domain.com, it loads the index.php (or something like index_new), I don’t know? ??
I got the same error. Exactly the same. When I check things out, they’re perfectly fine.
I’m afraid it is WordPress 3.3.2 fault. ??(I don’t know why, but the lines I get the errors in are -10 you guys are getting errors in. Like, probably, the line 401 for me is 411 to you, and 333 is 343. :D)
Forum: Fixing WordPress
In reply to: Pagination does not work@otto42
Still doesn’t work. =/Forum: Fixing WordPress
In reply to: A loop with a CATEGORY and a TAGIt gives me an error — about an unexpected $end (the “}”, in this case). I tried this query below (for multiple loops) and it keeps showing nothing… If I delete the “cat” or “tag” info, it works. But both of them not… =/
<?php $my_query = new WP_Query(array('tag'=>drama,'cat'=>3,'showposts'=>4,'orderby'=>id,'order'=>DESC)); while ($my_query->have_posts()) : $my_query->the_post();?>
Forum: Fixing WordPress
In reply to: A loop with a CATEGORY and a TAGYeah, I noticed that. I even tried this query
<?php query_posts('cat=3&tag=13'); ?>
But it shows only the posts that belong to the category. I also tried only the “tag=13” query, and it shows nothing.If anyone could help me… ??
Forum: Fixing WordPress
In reply to: Show the top category nameOk, thanks MichaelH!
Forum: Plugins
In reply to: Category slug inside The_ContentIt doesn’t work, either. =/
I need this to be INSIDE “the_content”, not just inside THE LOOP…Forum: Fixing WordPress
In reply to: Categories vs. Permalinks vs. Templates@kafkaesqui
Sorry about the misunderstanding. Bu crescent, I mean, like, 1,2,3,4… Decrescent, 4,3,2,1… ??The plugin should decide the same WordPress decides when it chooses the category in the permalink. So, if the permalink gets the #1 category name, the plugin should get the #1 category template… Not the other one.
Also, is there a way to not to show subcategories in the permalink?
Thanks.
Forum: Fixing WordPress
In reply to: Problems with SQL QueriesThe problem is the Customizable Post Listings plugin.
I disabled part of it, but I really need this plugin… Does anybody know some other that works like this?Forum: Fixing WordPress
In reply to: Problems with SQL QueriesI don’t know where is this from. I’ll try to look in all my plugins and see if it works… But, if somebody knows anything, please, let me know. ??
Forum: Fixing WordPress
In reply to: WP-Cache = Internal Server Errors!I am using the last one. But the problem persists.
Forum: Themes and Templates
In reply to: Include posts with two specific categories on a pageIf I add something like
$artist1 = query_posts(‘cat=1’);
$albums = query_posts(‘cat=2’);
$numbertoshow = query_posts (‘showposts=10’);
$queried_posts = array_merge($artist1, $albums, $numbertoshow);Does it means that it will show-me the last 10 posts that are on both categories?
Forum: Fixing WordPress
In reply to: Changing date textYAY! It worked! =D
Thanx! =]