« first day (2288 days earlier)      last day (2656 days later) » 

4:42 AM
yes, and don't put any php execution code inside a class file. For example, initiating an object under the class file. I have seen this many times in WP community.
 
Hi I have one question. I don't know if I can ask here.
 
shoot
 
Can I create a separate listing page
 
what listing..
 
I mean. I have custom posts. I want to create a page to list them all in one page
But the URL will look like following
s site.Com/category/tag
This is the structure of URL for listing page
 
4:47 AM
did you try searching in google there should already be some solution
so site.com/category/tag will list posts that is in the common category and tag?
 
I tried many. For 3 days
Yes
 
it seems doable..
 
So I need to write wp_query or URL Permalink itself
 
you will need to do some url rewrites. The archive template will take care the listing..
i am not too experienced with rewrites. so wait until others come along
 
WordPress Permalink didn't access this structure
Then I realized Permalink is for single post only
 
5:33 AM
I have following query
$args = array("post_type"=>"service", 'order' => 'DESC','tag' => "myfirsttag");
$query = new WP_Query($args);
while($query ->have_posts()) : $query ->the_post();
It is querying based on tag. I want to add category also with query
 
5:48 AM
@Howdy_McGee, If I am not mistaken it is the least effort way to integrate with the automatic class loader PHP has, but having one class per file is not enough for that and you will want the file name to be the name of the class or some simple variation of it
 
 
1 hour later…
6:49 AM
It might help some one who needs

<?php $args = array(
'posts_per_page' => 5,
'offset' => 0,
'category' => '',
'category_name' => '',
'orderby' => 'date',
'order' => 'DESC',
'include' => '',
'exclude' => '',
'meta_key' => '',
'meta_value' => '',
'post_type' => 'post',
'post_mime_type' => '',
'post_parent' => '',
'author' => '',
'author_name' => '',
'post_status' => 'publish',
'suppress_filters' => true
 
create a question in the main site
 
7:50 AM
argh, someone just invented the tag tweak.
 
@toscho LOL.
 
Min rep for tag creation should be 10k, and a complete tag wiki should be required before the inventor can do anything else on the site.
 
 
1 hour later…
9:17 AM
Oh, and we had 8235 attempts to create the tag wordpress so far. Luckily, this is on our blacklist.
 
 
7 hours later…
4:07 PM
Has anyone a good solution for migrating users and user meta from existing installation?
 
Into a new install or with merging them into an existing site?
 
 
1 hour later…
5:15 PM
Existing.
 

« first day (2288 days earlier)      last day (2656 days later) »