Jump to content
php.lv forumi

rolands

Reģistrētie lietotāji
  • Posts

    2
  • Joined

  • Last visited

Posts posted by rolands

  1. 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

  2. (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

×
×
  • Create New...