Search 
Search Forums:


 




Formatting of results of mychildren tag

Reply to Post
UserPost

3:35 am
May 22, 2008


Gary B

Guest

I am (successfully) using the tag to have an ajaxified show/hide link for all child pages.

How do I change the formatting of this, and the link text?

11:46 am
May 22, 2008


Aaron

Admin

posts 226

You can change the formatting manually in embeddedposts.php on the following lines.

  1. foreach($pages as $page){
  2. if($page->post_status != 'draft' && $page->post_status !='future'){
  3. $output .= "\n".'<h3>'.apply_filters('the_title', $page->post_title).'</h3>'."\n";
  4. $output .= AWP_EmbeddedPost::embedded_post($page->ID);}
  5. }
  6. return $output;

Link texts can be changed in the admin panel under the embedded posts option.

Reply to Post


Reply to Topic: Formatting of results of mychildren tag

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 11 + 7        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

8 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 184

Posts: 596

Members:

There are 1 members

There are 173 guests

Aaron has made 226 posts

Top Posters:

Administrator: Aaron