-
Posts
2 -
Joined
-
Last visited
Posts posted by rolands
-
-
(custom) taxonomu ir kā kategorijas vai tagi
Es price liktu kā metabox ierakstu (custom fields) un pēc tiem veiktu WP_Query atlasi: info http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters
a) to visu dara index.php vai single.php vai single-property.php info http://codex.wordpress.org/File:Template_Hierarchy.png?utm_source=wordpress-modguide
b) http://codex.wordpress.org/Function_Reference/register_taxonomy
Wordpress -1) rezultātu kārtošana pēc taxonomy un 2) rezultātu attēloš
in Iesācējiem
Posted
tas pats QP_Query tikai pēc taxonomy parametriem, ja meklēšanas rezultātot var ar'y post_query ( http://codex.wordpress.org/Function_Reference/query_posts )
register_taxonomy( $taxonomy, $object_type, $args );
ftgObjet_type norādi savu raksta veidu (property?) vai jau pie esošajiem paisaistot ar citu funkciju: register_taxonomy_for_object_type() http://codex.wordpress.org/Function_Reference/register_taxonomy_for_object_type