Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
administratorā parādīt tikai lapas apakšlapas
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ca...@team.lv  
View profile   Translate to Translated (View Original)
 More options Nov 1 2012, 5:16 pm
From: ca...@team.lv
Date: Thu, 01 Nov 2012 23:16:13 +0200
Local: Thurs, Nov 1 2012 5:16 pm
Subject: administratorā parādīt tikai lapas apakšlapas
sveiki!

radaas viena vajadziiba: administratoraa ieksh lapaam paradiit tikai
izveeleetaas lapas apakshlapas
principaa atradu vienu variantu ar filtru, kuru izsauc attieciigi
vajadziigajaa reizee

add_filter('parse_query', 'wp_admin_posts_filter');

function wp_admin_posts_filter($query)
{
$query->query_vars['post_parent'] = '11';

}

bet - atlasaas tikai taas kuraam ir parents 11 - taalaak neatlasaas
man vajag visu apakshzaru, takaa 'child_of' - sheit gan nevar to likt
iekshaa, jo te der tikai WP_Query parametri - tur taada, cik zinu, nav

pameeghinaaju atlasiit ar get_pages masiivaa un peectam pasham WP_Query
padot to ieksh post__in - te atkal rodas probleemas ar kaartoshanu, jo
sakaartojas ne peec 'menu_order' ...

ir idejas ???


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »