kakilo
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Album] bp_album_get_picture_count();Hi,
I’m having the same issue.
Anyone could help us?
Thanks in advance.
Forum: Fixing WordPress
In reply to: How to display only the first part of a page/postForum: Plugins
In reply to: [BuddyPress Album] Image limit restrictions by dateSomeone?
Forum: Fixing WordPress
In reply to: All posts from all categoriesHi guys!
My needs was to use a custom field to show in that page. I’ve solved my purpose using get_recent_posts. See the code below:
<?php $args = array( 'numberposts' => '5', 'orderby' => 'post_date', 'order' => 'ASC', 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-aside', 'operator' => 'NOT IN' ), array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-image', 'operator' => 'NOT IN' ) ) ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo '<li class="clearp" style="list-style: none; margin: 0;"><strong><a>' . $recent["post_title"].'</a></strong> '; echo do_shortcode(get_post_meta($recent["ID"], 'Player de aúdio', true)).'<a>Veja a letra</a>'; } ?>
Thanks for everyone!
Gratefully,
Henry.Forum: Fixing WordPress
In reply to: All posts from all categoriesI’m using a custom template on posts.
I’m getting the post custom field and not an excerpt, for example.I need a page to list these posts in that template (I could duplicate it if it’s necessary) and show up to the user in alphabetical order.
Can I use a page template for that?
Thxx
Using get_recent_posts it will lists all posts?
Can I use sort by title?Forum: Fixing WordPress
In reply to: All posts from all categoriesI think it is possible. Reading the documentation I’ve found a query to sort posts but appears it isn’t working or I must be doing something wrong.
I edited category.php and post-loop.php with this:
$wp_query->set( 'orderby', 'title' ); $wp_query->set( 'order', 'ASC' )
Thanks in advance.
Forum: Fixing WordPress
In reply to: All posts from all categoriesHow can I set the sorting method to alphabetically in that case?
Really appreciate your help. I’ll try that.
Forum: Fixing WordPress
In reply to: How to display only the first part of a page/postHi stephenturner,
You can use excerpts to do this.
Check out the wordpress documentation or plugins directory to see more.
Forum: Fixing WordPress
In reply to: All posts from all categoriesBut it must be a specific page and show EVERYTHING, since the beginning.
I think it’s more likely to a page template.Thanks.
Forum: Plugins
In reply to: [Plugin: DMS Guestbook] Navigation position below the contentCould you please move?
Thanks.