Custom built theme won’t filter categories

The variable $theTitle is not interpolated in a single quote string. query_posts(‘category_name=.$theTitle&orderby=rand’); Will ask for exactly that string. $theTitle will not be replaced with a title and the dot (.) will remain in the query. The result will be unpredictable. So, use a double quoted string: query_posts( “category_name={$theTitle}&orderby=rand” ); Or change the order of the … Read more

How to delete posts which have same title?

The easy way is to look at the URLs of the posts (or the IDs) and determine what ones you’d like to delete. Then go to the all posts page and hover over the title of the post you’d like to delete, then click the red trash button.

How can i make like this structure?

Do you mean when you click on each (or any) News item, you have the scroll list of video/image + the slider OR your accordion replaces the scroll list in your capture ? Anyhow, i think this is more a javascript question than a WordPress one. You could use jquery UI Accordion , or an … Read more

Options page for widget

Your widget is part of a plugin (per the first sentence of the question), so what you are really talking about is making a plugin administration page, which you would do with add_menu_page, add_submenu_page, or one of the more specialize menu page functions. That is the nutshell version of the answer. There are a lot … Read more