nouman6
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Same posts repeat on next/prev page links (multiple loops)Hey Zeo,
thanks for the help! That seemed to fix the problem
Forum: Fixing WordPress
In reply to: Same posts repeat on next/prev page links (multiple loops)Hey Zeo, no luck still.
I removed offset completely, just using post_not_in, and adding wp_reset_query like you suggested, and still the posts repeat:
Forum: Fixing WordPress
In reply to: Same posts repeat on next/prev page links (multiple loops)Yep, https://pastebin.com/93CCQ4kB
sorta re-did some of the changes I made, but that’s where it’s at and not working
thanks again!
Forum: Fixing WordPress
In reply to: Same posts repeat on next/prev page links (multiple loops)thanks for the reply alchymyth. Tried out the methods described on that blog as well as the post_not_in (which worked by excluding the post) but both still had repeating posts in pagination.
Pretty stumped on multiple loops right now, but maybe a better look at what I’m trying to do in general.
Latest Post
– Get’s the latest (1) Post and displays it a certain way.Featured Posts
– Get’s posts in the Category featured, and limits the display to 3 posts styled in a certain way..Posts
– Excludes the first post, and the category of featured posts.
– Is the only loop with prev/next pagination links.So far all the ways I’ve tried just has the same set of posts display page after page.
and thanks again for the quality reply!
Forum: Fixing WordPress
In reply to: Same posts repeat on next/prev page links (multiple loops)Sorry, the pastebin url is: https://wordpress.pastebin.ca/1866895
Forum: Plugins
In reply to: Gallery pool with individual profiles (logopond style)bump. Hopefully someone knows how to do this
Forum: Plugins
In reply to: Gallery pool with individual profiles (logopond style)bump ??
Forum: Your WordPress
In reply to: Video Game Review Site themesorry to double, but I am working on a review template:
Forum: Your WordPress
In reply to: Video Game Review Site themeThanks for the replies.
I’ve been trying to incorporate the colors into the page, but green and orange don’t seem to blend well anywhere besides the logo. I made a change to the featured area which now has its links colored green.
As for the image, it is fixed now, thanks for point that out! Also I wish I could use structured blogging, sadly it doesn’t have a standard option for game reviews, but thank you very much for pointing it out!
Lastly, I am going to use a star rating system which will ask the users to review the game themselves as well as the review.
~ Nouman
Forum: Plugins
In reply to: “Categorical Links Page” plugin not working!? Not working in 2.1, or…?you know this plugin is for Blogroll right? do you have any?
Forum: Plugins
In reply to: “Categorical Links Page” plugin not working!? Not working in 2.1, or…?update your wordpress version.
Forum: Plugins
In reply to: “Categorical Links Page” plugin not working!? Not working in 2.1, or…?<?php /* Plugin Name: Categorical Links Page Plugin URI: https://www.alucinari.net/wordpress Description: Output links seperated by categories onto a static page (Based on Links Page (https://www.asymptomatic.net/wp-hacks) by Owen Winkler.) Version: 1.1 Author: Jeremy Albrecht Author URI: https://www.alucinari.net/ */ ?> <?php /* INSTRUCTIONS ------------ 1. Upload this file into your wp-content/plugins directory. 2. Activate the Links Page with Categories plugin in your WordPress admin panel. 3. Create a new static page. 4. Add <!--catlinkspage--> to the static page content where you want the links to appear. Enjoy! */ ?> <?php define('LINK_USE_UL', false); function catlinks_page_callback() { global $wpdb; $output = ''; $linkcats = $wpdb->get_results("SELECT DISTINCT $wpdb->terms.term_id AS cat_id, name AS cat_name FROM $wpdb->terms INNER JOIN $wpdb->term_taxonomy ON $wpdb->terms.term_id = $wpdb->term_taxonomy.term_id AND $wpdb->term_taxonomy.taxonomy = 'link_category'"); $output .= '<div class="catlinkspage">'; foreach($linkcats as $cat) { $links = get_links($cat->cat_id, '<li class="clplink">', '</li>', '<br /> >> ', true, 'name', true, false, -1, true, false); if($links) { $output .= '<h2 class="clplinkcategory">' . $cat->cat_name . '</h2> '; $output .= '<ul class="clplinklist"> '; $output .= $links; $output .= '</ul> '; } else { $output .= ''; } } $output .= '</div>'; return $output; } function catlinks_page($content) { if ( strpos($content, '<!--catlinkspage-->') !== false ) $content = catlinks_page_callback(); return $content; } add_filter('the_content', 'catlinks_page'); ?>
Forum: Plugins
In reply to: Category List Pluginwell, sorry to double post <_<
anyways the plugin works now, but it is not what I needed.
This is a plugin for blogroll not categories.Forum: Plugins
In reply to: Category List Pluginyeah, I get an error ??
any one know of a fix, or an alternative plugin feel free to post!Forum: Fixing WordPress
In reply to: Homepage/Categorymoshu, thanks for the link! I will again attempt this.
awesome support <3