diad
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme switching without me asking for itI hate it, can’t figure it out. I go to my error files and basically, even though I am using a path like this: https://www.mysite.com/site/index.php I get an error that it can’t find https://www.mysite.com/index.php. (This is a simplified version of the error, it’s not literally what it says.)
Basically something in my WordPress code doesn’t know that it should look one folder down even though I have it adjusted in the dashboard and in the config files and everything. It doesn’t happen all the time so I know that those are properly setup.
Anybody know where else I would look in WordPress to find why it creates a path that is not the proper one? Does everyone have WP in their root folder or does anyone have it in a subfolder like I do so I can have a less complicated site root folder?
Forum: Fixing WordPress
In reply to: How can I make write entries and post them page specific?I figured out a way to do this if you are interested. Make pages as your nav menus, then make the same categories, basically mirroring all your pages and child pages into parent categories and child categories.
Then use Redirectify to point your pages to the specific posts. Like your X page points to https://yoursite.com/?cat=x. Then it looks like you have a page that goes directly to your posts under that subject. You can either make it specific and point to only one post or make it go to the parent category.
At first this may seem like a lot of work but you are only going to have so many pages, maybe less than 8, if you are using them as nav, and you don’t have to forward to every single category child. Trust me, this is way easier than trying to come up with loops and code to exclude content via templates and junk. I’ve tried.
Hope it works, I was going crazy trying to figure this out. I don’t know why it was so obvious. I bet its posted somewhere else but I seriously could not find it.
Forum: Fixing WordPress
In reply to: how do i post to a specific page?That’s pretty much it. I want the logic of the pages as nav but the blogness and chronology of posts separated into categories. This is working pretty well and it’s just another step if I want to customize all my categories with different templates. I can completely eliminate the call to wp_list_cats except on an archive or summary page and nobody has to know I’ve even used categories. I can treat it more as an internal organization system. For example, I can move something that’s “Event this month” to “Past Events” in categories and it lists them chronologically.
Forum: Fixing WordPress
In reply to: how do i post to a specific page?I’ve tried using different templates and had some success but I have come up with a way that I am happy with until I learn something more about categories. Basically I use Redirectify and point my page to the parent category, which shows all the posts. I only have a set number of pages, maybe 7 so I can specify where I want them to go.
My problem is more with navigation and I really don’t want a list of categories on the side since I try to use WP more as a CMS than a blog. I had a really hard time having my navigation look simple – just show a page link rather than a sidebar with wp_list_cats – then have it link to posts or categories of posts until I used redirectify. I even tried all kinds of ways to have list_cats loop through and segregate to only show the categories in the sidebar that I wanted it to. It just got too crazy.
I just make sure I mirror my pages and sub pages with my categories. Like Art Page links to Art Category and their subpages link to their relative sub categories. Once I get through the few subpages, like “Previous Art Shows” then I can just post and assign it the category the way it’s meant to work. I can have hundreds of posts.
Does this make sense or make it easier for anyone having a hard time figuring out how to wrap your head around nav and categories?
Forum: Plugins
In reply to: How to show only that specific category and it’s posts – nothing elseWow, well, I’ve finally come up with a solution. I was wanting for a way to have pages show only specific posts. Sort of as a holder or vessel for specific posts. After attempting all kinds of sidebar hacks I finally have a way to do it, not perfect, but at least it’s easier. I use redirectify.
Basically have your page forward to the archive/category tag, not the post tag or anything. Then you can call you page the same thing you call the category, like my ART GALLERY page goes to the ART GALLERY category, and lists all the art shows I have had and all their galleries.
I will probably use some of the techniques above to show the menu of the parent and children pages by having the specific pages use specific templates.
whew
Forum: Fixing WordPress
In reply to: how do i post to a specific page?I think teebo is looking for what I’ve been looking for. It’s a way to have a page that is the holder for specific posts. It’s the same concept of categories but categories have very limited formatting options. It’s not that easy to split up the entire list of categories into parents and children that are post/section/page specific. Pages are really easy to organize. Categories should be a further option to make archives easier to search maybe. I just don’t get categories. I really hate the way you are forced to use them but they aren’t flexible.
Forum: Plugins
In reply to: Customizable Post Listings Category SpecificDid you ever figure this out? What happened when you tried it?
Forum: Plugins
In reply to: How to show only that specific category and it’s posts – nothing elseIf I could only get the second loop to go inside the first one. The way this code below comes out is like this:
Child Category
Child Category
Child Category“Individual Posts in (the child category)”
Post1
Post2
Post3It is doing a good job of only showing the posts of the category it in but I can’t get the parent category to show at the top and I want the posts underneath it’s child. I’m sure there are other code mistakes…
<h2>Categories</h2> <ul><li> <?php if ( in_category('2') ) echo wp_list_cats('orderby=id&show_count=0 &use_desc_for_title=1&child_of=2'); ?> </li></ul> <?php single_cat_title('Individual Posts in '); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post"> <div id="post-<?php the_ID(); ?>"><ul><li> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li></ul></div> <?php endwhile; ?>
Forum: Plugins
In reply to: How to show only that specific category and it’s posts – nothing elseOk, I’ve figured out a little. Haven’t gotten to the collapse part or even showing the individual posts under the children but I at least have a loop that shows only the present category, it’s children and the number of posts.
I simply did:
<?php single_cat_title('Currently browsing '); ?> <?php if ( in_category('2') ) echo wp_list_categories('orderby=id&show_count=1 &use_desc_for_title=1&child_of=2'); ?>
I had to pick the specific category and will have to change the ‘2’ to whatever the parent category is but I don’t plan on having more than a few. I’m just going to change currentyl browsing to blank so it only shows the title.