0
votes
1answer
38 views

Same sidebar in all posts as in the category

I've made an option of creating unlimited sidebars, then there is an option to select any desired sidebar from a select element, which is a custom meta field, in each category edit page. So far so ...
0
votes
1answer
49 views

Adding a meta box to determine the sidebar [closed]

I was trying to customize my WordPress, and I have added some custom meta boxes (it adds custom field) to add values in it, but I don't know how to do this one... I want to a Meta Box, which will be ...
0
votes
0answers
71 views

Displaying post author's buddypress profile details in sidebar [on hold]

I'm trying to display the following items in the sidebar of posts: Post Author avatar Their name (link to buddypress profile) Send them a private message Add them as a friend I have tried a few ...
0
votes
1answer
131 views

Sidebar on single.php not showing up

So, my sidebar is working just fine on my blog page: beta.cleantelligent.com/blog However, when you click a single post, I'd like that same sidebar to show up. I am assuming this would be under ...
0
votes
2answers
65 views

get value from post to sidebar

I have the following div in my post, <div class="my_calss" id="my_id"> my content </div> Here, my_id is different for each post. I need to display my_id in sidebar into php code. ...
1
vote
2answers
57 views

Post-ID in url differs from $post->ID

I've got a page with a blogroll in the left column and a sidbar in the right one. When I try to retrieve the page-id inside of the sidebar like: echo $post->ID; echo get_the_ID(); The result is ...
0
votes
2answers
192 views

2 dynamic sidebars registered, not showing up

My intention is to have a left and right sidebar on each page. I've registered both of them, implemented my desired widgets, and yet something isn't quite right. The left sidebar (sidebar(1)) loads ...
0
votes
2answers
216 views

Widget to show posts in the sidebar basing on its IDs

I am trying to create a widget that displays posts in the sidebar taking post IDs as input from the user. The result of my code is that the widget displays just the first entered ID and ignores the ...
2
votes
3answers
354 views

How to show video from specific category on sidebar?

I need to get video and content from recent posts in specific category called "Video" and show it on my sidebar. The problem is when I need to have limited text content. so, when I use the_content(); ...
6
votes
1answer
366 views

Display Random Author with Details in Sidebar

PHP newbie here, recently decided to have a stab at cobbling together a kooky little 'Random Author Spotlight' feature into my current WordPress theme. I'm almost done, but I've hit something of a ...
0
votes
1answer
1k views

Display all posts under child sub category in sidebar on post page?

I am trying to make a custom sidebar for my posts in certain categories. It will look something like this. My category structure looks like this: Parent 1 Child 1 Sub Child 1 Sub Child 2 Child ...
1
vote
6answers
3k views

How can I hide the sidebar from a specific post?

I'd like to hide the sidebar on a specific post (not page). How can I do this? For background, I've searched quite a bit both on Google and here. I'm finding lots of solutions for showing different ...
1
vote
1answer
1k views

Load posts into sidebar and paginate via ajax?

Is it possible to paginate, or load the next / previous posts in the sidebar without messing with the entire page pagination? Such as AJAX? Right now I'm querying custom post type posts to load the ...
0
votes
1answer
95 views

How do I display the next 3 posts in the sidebar?

I'm building a simple "company news/press release" site. We'd like to display the latest five post excerpts on the home page with the next three post titles (six through eight) and a single "Archives" ...
0
votes
3answers
506 views

Sidebar limiting to 10 posts?

I have the following code inside my single.php page: UPDATED CODE <?php if (have_posts()) : the_post(); $post_id = get_the_ID(); if ( is_single() ) { $cats = get_the_category(); ...
1
vote
2answers
62 views

Sidebar links for different pages

Hey all i am wondering what i need to add in order to have a different sidebar for a set page? I created a category for the page (called PatientEdu): And made sure the page was linked to the ...
0
votes
1answer
237 views

Getting post and attached image from subdomain

I Recently installed wordpress as subdomain on my main website. Now i have two installations: www.example.com and www.example.com/store/. Now i want my Main domain to show recent posts from subdomain ...
0
votes
2answers
273 views

Conditionally exclude post from specific category on home page sidebar?

I want to exclude posts from one category. These posts should not show in the sidebar on the homepage only when I explicitly don't want that particular posts to show. In all other cases these posts ...
0
votes
1answer
212 views

Post X of Y in single.php / sidebar.php

Is there a way of putting "Post X of Y" into my sidebar? I think I can only show it when it is a single blog post (something like checking if the content is_single) but I want to be able to see which ...
2
votes
1answer
1k views

How to show post(excerpt) from specific category on wp page?

I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.
0
votes
1answer
512 views

Show 10 latest posts only from users with contributors role

How to achive this in sidebar.List of 10 latest permalinks(post titles) from contributors ?
0
votes
2answers
618 views

Display most recent posts in category with Twenty Ten theme widget

I am fairly new to WordPress, and I would like to have a list of the most recent posts in a certain category appear in a right-hand panel (I can do this with all posts, but not specific categories) I ...
1
vote
2answers
2k views

$post>ID displays wrong post ID

I've asked a question about listing all sub-pages before: Listing all sub-pages? But all the questions were wrong. Anyways, I have now simpler question. global $post; echo $post>ID Works ...
1
vote
3answers
98 views

Styling images coming from another blog

I had asked a question earlier, on getting post-thumbnails from another WP-site. There, the awesome Mike coded a SQL query whose results are then passes on to a PHP array. The piece of code from that ...
3
votes
2answers
2k views

Getting post-thumbnails from another WP site

I have two WordPress installations, one at http://inversekarma.in and the other at http://inversekarma.in/photos. The latter is a photoblog, and its theme uses the standard WP post thumbnails (EDIT: ...
2
votes
1answer
858 views

show posts names and links in the sidebar list as categories child

i'm using this plugin to show an exapandable/collapsible widget-menu in my sidebar. http://wordpress.org/extend/plugins/folding-category-widget it works very well! the question, not directly ...
4
votes
1answer
1k views

Getting the Next and Previous Posts Titles in the Sidebar?

Let's assume that I have the following posts with the following titles: PostA (is assigned to the 'category 1') PostX (category 2) PostB (category 1) PostC (category 1) PostD (category 1) PostY ...