vicky515
Forum Replies Created
-
Oh i understand you must put
%1$s
for it to work. But what if i only want countdown in days?yeah, some help please?
Forum: Fixing WordPress
In reply to: Do I need a custom loop?Ok, so here’s my modified Index loop… I’ve created a “blog” page in WordPress to experiment with…
function mod_index_query() { global $wp_query; if (is_front_page()) { $defaults = $wp_query->query_vars; $custom = array('posts_per_page'=> '1'); $args = wp_parse_args( $custom, $defaults ); query_posts($args); } else { $defaults = $wp_query->query_vars; $custom = array('posts_per_page'=> '10'); $args = wp_parse_args( $custom, $defaults ); query_posts($args); } } add_action('thematic_above_indexloop','mod_index_query');
Under “Reading”, the following “front page displays” settings cause the following set-ups.
1. Your latest posts: Homepage shows mose recent post (expected), Blog shows blog page with no posts.
2. A static page, Front page nothing, most recent posts nothing: Homepage shows most recent post (expected), Blog shows blog page with no posts.
3. A static page, Front page “Blog”, most recent posts nothing: Homepage shows Blog page which has no posts, Blog shows blog page with no posts nothing.
4. A static page, Front page nothing, most recent posts “Blog”: Homepage shows 10 most recent posts (Blog should show this), Blog shows 10 most recent posts (expected)
5. A static page, Front page “Blog”, most recent posts “Blog”: Homepage shows Blog page with no posts, Blog shows blog page with no posts.I think option 1 is the best, but that i’m doing it all wrong…
If not, then configuration #4 is the most promising… I’m confident I’m going about this all wrong though.Any input would be appreciated.
note: the hook at the end is because I’m using the Thematic theme. You can disregard, as my main issue is just not understanding where to properly put this second loop, or what to link the “blog” menu item to to grab the right loop.
Forum: Fixing WordPress
In reply to: Right Sidebar sporadically shifting to bottom left of content areayeah, this is the same issue. the second “box” div is appearing within the first “box” div. But unfortunately I’m not really sure how to help you fix it without being able to see it myself ??
Forum: Fixing WordPress
In reply to: Right Sidebar sporadically shifting to bottom left of content areaNo, that wouldn’t be it…
Are these pages using different templates, or are they all the same? Sorry, I’m still learning myself so I’m not too familiar with the various different ways themes are developed.
So, for example, I have category.php for showing all the posts in every category, and if I wanted to change the template depending on the category (like cats and dogs) I would have category-cats.php, category-dogs.php
Do you know if yours works the same way?
In other words, does “fitted-diapers-these-need-covers” use a different template than “tuck-and-go-diapers”?If they are using the same template, then maybe there’s something wrong with your sidebar and/or widgets… Since it sounds like they are the deciding factor as to whether or not you have this issue.
Sorry if this doesn’t make sense.
Forum: Fixing WordPress
In reply to: how to make index.html pagecan you access your website via FTP?
you should be able to change it back in wp-config.phpdefine('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');
Forum: Fixing WordPress
In reply to: Hone Page Title MissingForum: Fixing WordPress
In reply to: Right Sidebar sporadically shifting to bottom left of content areaIt looks to me like you’re missing a </div> before the sidebar.
I’m using Firefox & Firebug to look at your code.
The wonky pages have the sidebar within the page div, that’s why they’re showing up at the bottom.In other words, if I add
</div>
directly above
<div id="sidebar">
the problem is fixed.Hope that helps.
Forum: Fixing WordPress
In reply to: how to make index.html pageMaybe I’m alone but could you provide some more details? For example, did you create this page from scratch or did you use WordPress? What did you name the new page? Did you change anything in WordPress to see this new page?
Forum: Fixing WordPress
In reply to: Do I need a custom loop?Sorry to bump, but I’m still looking for help with this if anyone can assist? Thank you!
Forum: Fixing WordPress
In reply to: Do I need a custom loop?https://bit.ly/iC0cvF
Ok. Did what you said.Notice homepage displays the most recent article, in it’s entirety. That is my Index loop.
Created a page called “Blog” and set it under “Reading” like you said. It looks to me like it’s using the same Index Loop. Which I do not want. I want it to be a different loop.
So I was asking how to achieve this.
Clear now?Forum: Fixing WordPress
In reply to: Do I need a custom loop?But I already have a homepage set-up. Wouldn’t that change my homepage? If you read my post I want to create a menu item titled “blog” with all the posts. Separate from the homepage.
Forum: Fixing WordPress
In reply to: Do I need a custom loop?So… How do I get the posts on another page that isn’t the homepage? That’s my whole question.
Forum: Fixing WordPress
In reply to: Do I need a custom loop?Under Settings > Reading I only see the option to configure how the homepage works. Whether it will be most recent articles, or a static page.
https://codex.www.ads-software.com/Settings_Reading_SubPanel
Am I missing something?
Forum: Fixing WordPress
In reply to: Pagnation not working, regardless of theme being usedkmessinger – that is not correct. the link you posted is just the second page of the homepage, not the blog.
Anyway, I figured it out. After several weeks of going crazy. It’s because I didn’t want /category/ in the URL so I had “.” in the category base of the permalinks.
For whatever reason that works everywhere except pagnation. Pretty dumb. Oh well.