simifilm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get a custom field from a subpage(page child)?A related question: I have several subpages with film reviews, each page has the custom field “regisseur” (=director), the title of the page is the respective film title. What I want is that all reviews are displayed as a a list. This works in principle with the following code:
<?php $customs = get_posts('numberposts=-1&post_type=page&post_parent=28&sort_column=post_title&order=ASC'); foreach($customs as $custom) { $post_id_art = get_post($custom->ID, ARRAY_A); $title = $post_id_art['post_title']; $url = $post_id_art['guid']; print "<a href=\""; print $url; print "\"><em class=\"Film\">"; print $title; echo "</em></a>"; echo " von "; print get_post_meta($custom->ID, 'Regisseur', $single = true); print '<br />'; } ?>See here
The problem is the sort order: I want the list displayed in alphabetical order. For some reason “&sort_column=post_title&order=ASC” is just ignored, instead the list is sorted by the pages IDs.
Any ideas?
Forum: Plugins
In reply to: Newsletter PluginI’m also interested in this. I’ve installed Subscribe2, but from what I see there’s no possibility to turn off automatic emails for new posts. What I want is really just the possibility to send mails to all subscribed readers of my post. Somehow there also seems to be something broken with Subscribe2: I’m not able to actually unsubscribe people from the newsletter …
Any ideas?
Forum: Fixing WordPress
In reply to: Get a custom field from a subpage(page child)?Thanks a lot, that did the trick.
Forum: Fixing WordPress
In reply to: Get a custom field from a subpage(page child)?I spent really a long time googling this and I also tried the plugin gabesands links to, but still no luck. So I have to raise the question again: How do I display a custom field from a subpage on a parent page? Held would be really appreciated.