0
votes
1answer
90 views

Add Sort Link in Custom Post Type List

I need to add a link here, beside the Published link: How can I do it? I'm trying to filter my custom post type by meta values and need a link to do it. Thanks.
0
votes
1answer
62 views

Is there a html tag filter for the excerpt?

Maybe now, with the wordpress 3.6, there is a filter on allowing html tags on the_excerpt() I am trying to get the_excerpt() to allow certain html tags and I searched and searched and all I find is ...
0
votes
1answer
2k views

Fancybox Object has no method error

I already searched related question but most of them are duplicate jQuery lirary, My problem is different coz the website load only one jQuery Library, I am using fancybox for this page's play video ...
0
votes
1answer
85 views

How to use several wp_ajax_ functions for different queries?

I am working on getting multiple functions to work with wp_ajax_ and the first two functions fire just fine. However I have the need for a completely new query that will take advantage of AJAX also. ...
0
votes
1answer
251 views

When sorting WP_List_Table, table sorts, but I also get SQL errors

Here's my lovely prepare_items() function: function prepare_items() { global $wpdb; $table_name = $wpdb->prefix . 'blah'; $per_page = 100; $columns = $this->get_columns(); ...
0
votes
1answer
100 views

Body text disappearing in random posts

I'm using Wordpress 3.5.1 I noticed recently on my site that the body content of some posts is disappearing. The post still exists, all the other fields are still populated, but the post_content ...
0
votes
1answer
37 views

Is WordPress multisite is good to go?

I am planning to make a website for different type of community. For example different types of developer. PHP Java Android etc Each type will have different registration and profile fields. Now my ...
0
votes
1answer
74 views

Pick your brain on wp-config.php if statement for multisite

I am trying to write a if statement into the wp-config.php to only enable define('WP_DEBUG', true); if it's not the main site in a WordPress Multisite install. I just don't know how much of the ...
0
votes
1answer
67 views

Create custom archive page for individual authors which is separate from the author.php page

If this is a duplicate, I apologize. I have searched and searched with no luck. I have a custom author.php set which shows the most recent 10 posts (As it's set in the admin panel under General > ...
0
votes
1answer
44 views

deleting replies on post previews on the homepage

Does anyone know how I can remove the text that says how many Replies there are underneath each post preview on my homepage? I would prefer to see just the title and the date. This is something I ...
0
votes
1answer
266 views

Remove Featured Image from posts in specific category?

I am building a theme that includes the featured image as a navigation feature outside the single post, but once the user gets to the post in category "Specials", I'd like to take that image away. ...
0
votes
1answer
31 views

How do I get rid of or change the footer in my child theme?

I want to remove the default theme name and "powered by WP" text in the footer of every page. I've created a child theme to hold all my customizations from the original theme so that my customizations ...
0
votes
1answer
40 views

retrieve theme custom settings

I have modified twentythirteen template adding custom settings for my theme. All settings appear in theme customization section and I am able to save them. I am using WP 3.6. How to retrieve those ...
0
votes
1answer
86 views

Edit php files in subdirs in a child theme

I want to change a php file in a subdir of my theme folder. The path to that specific file is: /includes/sf-content-display/sf-post-formats.php I copied the file within the subdirs in my child theme ...
0
votes
1answer
164 views

how to remove user name and date in post page

Every post page shows user name and date in top of page. Pinboard theme is used. Wordpress is used like CMS and this info in not nessecary. Pages cannto used since pages does not allow to add tags and ...
0
votes
1answer
26 views

product_tag to style an image

I want to style my product images depending on product tags (not only the first tag, but all of them). I am using this: <img class="<?php echo get_the_term_list( $post->id, 'product_tag'); ...
0
votes
1answer
78 views

Placing a featured image into header

How can I place featured images into the header, so each post has it's featured image within the main header? Also on category archive pages and the main news page, the featured images are being used ...
0
votes
1answer
122 views

Pretty links for PHP pages above WP /blog directory?

I've made a new WP installation in a subfolder /blog, set up with "Post name" permalinks. I'm ready to make several other non-WP website PHP pages which would reside above the /blog directory. I was ...
0
votes
1answer
57 views

Additional Sidebar

Hi I wanted to create extra sidebar in my theme and I am not sure if what I did is correct. In my theme functions.php I found this function: function blankslate_widgets_init() { ...
0
votes
1answer
54 views

Decouple page name from page title

As far as I can see, the name of a page (in admin) is the same as the title for the page. In many cases you would want the page name to be something else to better grasp what it's about while ...
0
votes
1answer
33 views

Outputting a custom field in PHP

I am a complete newbie at PHP so please forgive me. I am wanting to display some data in the following format: "Post name" - "Custom Field String (in this case, 'custom_date')" I am currently ...
0
votes
1answer
44 views

How to hold all comments for moderation, including author's comments on own post

I want all comments no matter what, to be held for moderation and not appear till approved by an admin. Wordpress allows author comments on own posts to show up without holding for moderation. Any way ...
0
votes
1answer
52 views

Trying to display stick or featured post on homepage

Im trying to add the last sticky post to a section on my homepage as a Featured article. I have created this so far and it displays posts but not the sticky ones: <?php ...
0
votes
1answer
250 views

Limit comments per user per post

I use this code to limit the comments to 1 for registers users and works fine. The problem is that when i click to "go back" button in the browser i can comment again. Is there any effective way to ...
0
votes
1answer
171 views

Extend page routing with custom parameters

In WordPress there is defined a simple routing /%postname%/ So when I access /projects/ it loads me Projects page which has specified custom template_projects.php template. Is it possible to ...
0
votes
1answer
100 views

Menu item not created on theme activation

On theme activation the following code doesn't create my menu with the 'New Page' item, the menu is created and the location is assigned to 'submenu' but no menu item of my newly created page? What ...
0
votes
1answer
111 views

how to exclude posts on current page from recent posts sidebar widget

I am using Wordpress 3.6. I would like to exclude posts on any given current page from appearing in the recent posts sidebar widget. I haven't been able to find a custom widget that has that option. I ...
0
votes
1answer
90 views

Image format not using single-image.php

I am trying to isolate a particular post format for images, and reading the Codex, I thought it would be possible to create a new template file single-image.php. However, that file is not being used. ...
0
votes
1answer
131 views

Settings API - Checkboxes validation in a menu with multiple subpages

I'm building a theme using the settings API. I have a top level menu with multiple subpages and everything is working fine, except checkboxes. I am saving the options to a single options array. This ...
0
votes
1answer
69 views

Need to display tag group as first name, last name but sort on last name

The reviewers for our site are listed as filtered tags by first name then last name. How would I keep the display list as is but sort by last name? I have now: Aaron Smith Bob Jones Carl Harrison ...
0
votes
1answer
150 views

How to increase the thumnail size of nggallery carousel template

I want to increase the thumbnail image size of nggallery carousel template. Check this link http://arkamediaworks.com/rel_test/uncatagorize/hello-2/?pid=6 is there any better code to do it. Here, is ...
0
votes
1answer
238 views

Post in multiple categories do not include in previous / next post if one category in excluded

I have read the following post which appears to solve my problem but doesn't... excluded_categories parameter in next_post_link() behaving unexpectedly I have posts in say 3 categories but if they ...
0
votes
1answer
33 views

Is each issue of a magazine site a static page

I want to create a monthly magazine style website. I can see the url for a month is something like this: www.magazine.com/mywebpage/2013/08 Suppose I want to create a custom page for each month, ...
0
votes
1answer
31 views

Guaranteed Image Sizes

I am using the following line of code to create a new image size: add_image_size('single-post-image', 600, 370, true); However, this line of code does not guarantee that, the image will be of ...
0
votes
1answer
71 views

Change /add items in menu on the inner sidebar

I have a home sidebar menu of items and I need to add an item (post) so it displays. There is no add button availalble. How do you add another post so it shows on the home inner sidebar menu list
0
votes
1answer
81 views

get id custom tables on current page

i will get id on current page. <?php $hasil = $wpdb->get_results("SELECT id,bab,tema FROM $tabel ORDER BY bab ASC"); foreach ($hasil as $bab) : ?> <tr> ...
0
votes
1answer
109 views

Hooking get_posts()

On a site this is a plugin that uses get_posts() to make a list of pages. The list is used to create a list of pages and create next page and previous page links. ( ...
0
votes
1answer
217 views

Make multiple pages and set template/content on theme activation?

I am wanting to make about 6 pages or so on theme activation, and I have found two ways to do it on this site. One will make as many pages needed and that is all, the second one will make only one ...
0
votes
1answer
60 views

Merging versions of wp_posts based on post_title

I have a live site and a backup/dev version of the site. For some reason (probably because I did an export from Moveable Type then moved everything from localhost to a live environment I had little ...
0
votes
1answer
108 views

Hard coded main navigation

Theme twentyeleven Version 1.5 HELP PLEASE I have received an answer from @Mayeenul Islam but this has not resolved my question, if I can't make the navigation show active that's not the end of ...
0
votes
1answer
151 views

Howto put advertising as post number 1,2,3 etc

I would like to put advertising as post number 1,or 2 or 3,etc ( I can pick any number basicly). Anyone know how to do it? So basicly just like post number 1 is normal standard post and then post ...
0
votes
1answer
45 views

Facebook posts on wordpress blog

Is there any way that i can get the facebook latest posts on to my wordpress. For example if a user types some text can clicks on the post button, then that text has to come my site... Thanks in ...
0
votes
1answer
265 views

Insert media button will always add into the same tinyMCE editor

I have an issue with the insert-media button. I have 2 instances of tinyMCE with both Add Media button. When I add a media in one of the two tinyMCE, all my media will go in this after, whatever which ...
0
votes
1answer
58 views

JavaScript Libraries in WordPress

I understand that in order to use a JavaScript library in WordPress, such as jQuery, we have to use the following code to prevent conflicts: function my_scripts_method() { wp_enqueue_script( ...
0
votes
1answer
102 views

Adding thumbnails for non-image attachments

I'm working on a site that provides Photoshop resources. I would like to create a page offering brushes for download that displays a thumbnail image and a link to a .zip file for each brush set. I was ...
0
votes
1answer
63 views

Single post page from static home not working

I'm struggling with displaying a single post page. I have the following code on the static front page: <?php $args = array( 'numberposts' => 5, 'order'=> 'ASC', 'orderby' ...
0
votes
1answer
44 views

Is it possible to create a login for restricted visibility?

I use eStore (from Elegant Themes) with Woocommerce to build a webshop. I want to add a login page for wholesalers to login and have access to different products (2014 collection) and different price ...
0
votes
1answer
28 views

How can i set post_per_page in my taxonamy?

<?php $myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'brands', 'terms' => array('ALL'), 'field' => 'slug', ...
0
votes
1answer
39 views

Problem with custom menus

On the menu, I'm talking about custom menus, I have a footer with several columns, each column will have a list of items, each column menus needs to be updatable from the menus option on wp admin, so ...
0
votes
1answer
49 views

404 Page when emptying spam or deleting a plugin

I have recently had a website migrated by my host over to a new server within the same network. I have now noticed that within the WordPress dashboard, if I try and do any of the following... Empty ...

15 30 50 per page