tdskate
Forum Replies Created
-
Forum: Plugins
In reply to: WP running on caching serveranyone?
Forum: Plugins
In reply to: Image ProblemsSame problem here ??
Forum: Fixing WordPress
In reply to: Display posts from category in Page templateSo i found a solution. Turns out what i wanted is Multiple loops. (it’s what i’ve been thinking all this time)
Just added this line:
<?php $temp_query = clone $wp_query; ?>and this:
<?php $wp_query = clone $temp_query; ?>Just made my own day !
Thanks me! ??Forum: Fixing WordPress
In reply to: Display posts from category in Page templateBut what good is a category template to a page.. i’m using the list_pages function to create the navigation of my site, and as far as i know you can’t add category links to the list_pages function …
Forum: Fixing WordPress
In reply to: Display posts from category in Page templateThe reason is that I want to have a template that can show page content with some posts out of a category (and this part has been solved by adding the category name in the post meta data)..
Why wont the rewind_posts function not work?Forum: Fixing WordPress
In reply to: Display posts from category in Page templateAre you saying it can’t be done?
Forum: Installing WordPress
In reply to: Adding a Div pluginI need the same thing! Have you found a plugin Robpop ?
Forum: Fixing WordPress
In reply to: Feature photo for pages.I guess it’s possible by posting a link in a custom field.. but then how could i set a default pic to show on pages that don’t have the custom field filled in ?
Forum: Themes and Templates
In reply to: template: just show child uri’sWell no,
Here’s what i really wanted to achieve:<?php /* Template Name: Redirect to Random Sub */ get_pages(); $page_children = get_page_children($post->ID, ''); $children_count = count($page_children)-1; $random_child = rand(0, $children_count); $randum_url = ($page_children[$random_child]->guid); echo header("Location: $randum_url"); ?>
This is a template that randomly redirects the user to one of the child pages of a parent page. I needed the child url’s in an array and it worked by triggering get_pages();
Forum: Themes and Templates
In reply to: edit a PHP template?Maybe he means the tagline… ?
In the wordpress admin, click the Options tab, change the tagline, and “update options”… Does this fix your problem?Forum: Themes and Templates
In reply to: Tags not in alphabetic orderI don’t think that’s possible (yet).
https://codex.www.ads-software.com/Template_Tags/the_tags
It doesn’t say if you can sort or not.. Maybe if you digg a little deeper in wordpress files (grep) you’ll find the function and you can rewrite it so it doesn’t sort alphabetically.Forum: Fixing WordPress
In reply to: Redirect to random child pageI just need a tag or function that can create an array with urls from a page’s children.. does this question even make sense ?
Forum: Fixing WordPress
In reply to: I did something stupid. Please help!You should log into your database with phpMyAdmin, and in the table wp_options you can change it back. Easy!
Forum: Fixing WordPress
In reply to: Divide content in PagesLooking for the same thing here. I’m trying to design a “rider profile” which is a page that should display a team rider’s statistics, personal info, favorite music/movies. Each should be displayed in its own section.
All i need is to be able to split a page post up in different divs with different css classes.
Forum: Installing WordPress
In reply to: Rich text editor not loadingnope, it stopped working at home after i tried at work…