Solved

WordPress 3 - Content blocks

Posted on 2011-02-21
5
447 Views
Last Modified: 2012-08-13
Hi,
Apologies for my little WordPress knowledge, I've just started. Can we have blocks in our template and through the admin panel we can control:

1. What is to be displayed in a particular block e.g. teaser of latest 5 posts under a category.

2. Control block visibility by the URL e.g. display a particular block only on home page and on /latest, /latest/*

In Drupal, its fairly simple, I'm sure its as simple in WordPress too, but I need direction to achieve this. Kindly guide me.

Thanks and Regards
0
Comment
Question by:rajoo_sharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34945230
Hi rajoo_sharma,

Blocks in WordPress are called widgets and they are built into the themes.  You control them going to Appearance | Widgets and the interface should be fairly self-explanatory from there.

To control widget visibility, you need an extra plugin: http://wordpress.org/extend/plugins/dynamic-widgets/
0
 

Author Comment

by:rajoo_sharma
ID: 34948493
Thanks Jason.

It was very helpful and I understand the concept now.

Do you suggest a widget for displaying video from YouTube?

Regards
0
 

Author Closing Comment

by:rajoo_sharma
ID: 34948496
The answer was to the point, accurate and very easy to understand. Thanks Jason.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34948531
>> Do you suggest a widget for displaying video from YouTube?

Nothing specific.  There are a ton of widgets available via plugins to show video.  Just search the plugin list until you find one you like.
0
 

Author Comment

by:rajoo_sharma
ID: 34948537
Great, thanks again.
I'll search and use the most suitable.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question