wp_list_pages sort order is different for different languages [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 9 years … Read more

How to display thumbnail and excerpt of a page on homepage?

How to display attached thumbnail and excerpt (about 200 words) of a page on homepage? <?php $page_data = get_page( 401 ); // Get page ID 401 echo ‘<h3>’. $page_data->post_title .'</h3>’; echo apply_filters(‘the_content’, $page_data->post_content); ?> I don’t know how to display attached image as thumbnail. May be i use mb_substr php function to cut the content … Read more

single page site with subpages

i want to make a single page site which has subpages with following structure about us team -member1 -member2 contact and i want the output to be like <div class=”about-us”> team content </div> <div class=”team”> team content <div class=”subpages”> <div class=”member1″> member1 content </div> <div class=”member12″> member2 content </div> </div> </div> <div class=”contact”> team content … Read more

Page Attachment Permalink Structure based on Menu Order?

I’ve been on a quest for the past couple of days reading up on Rewrite in WordPress but still can’t seem to figure out how to accomplish this. When using pretty links in WordPress, media attached to a page forms a URL like: http://www.domain.com/page_name/attachment_name/ http://www.domain.com/page_name/page_name/attachment_name/ http://www.domain.com/page_name/page_name/…/attachment_name/ What I would like to do is create a … Read more

Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 8 years ago. Improve this question I’m trying to … Read more

Custom Blog Post Listing in Genesis Sample Child Theme

I want to add several images and divs and also customize the look of my Blog post listing… But i can’t find the way to do it. Here’s the Blog Template code <?php /* WARNING: This file is part of the core Genesis framework. DO NOT edit this file under any circumstances. Please do all … Read more

Getting post content within wp_nav_walker

I have a custom walker set up designed to add content into the nav menu. The problem being that it is not pulling the content. The post object returned by the get_post/get_page has an empty post_content attribute. What is causing this? Walker: class mobile_walker_nav_menu extends Walker_Nav_Menu { function start_lvl( &$output, $depth ) { // depth … Read more