0
votes
1answer
143 views

Adding search box for admin on custom admin page

I have fetched some rows on my custom admin page (using hook for adding admin menus). Now I want to add a search box on that page to display only those rows with the 'title' column containing searched ...
0
votes
1answer
223 views

Database location in Wordpress

I have created my website in WordPress and want to transfert it in my domain created with ipage. I am not able to locate the WordPress database. Can you help me? How is the format or extention of DB ...
0
votes
1answer
189 views

delete duplicate meta_value with same post_id

I've trying to cut down on the time to query a custom post type. After looking at the database and the wp_postmeta table, for some reason, there is some duplicate meta values for the same post_id and ...
0
votes
1answer
131 views

get_post_meta is always empty when I use wp_mail

I made this action hook which will send an email to the users every time a new post in the custom post type "events" is made. function email_members($post_id) { global $wpdb; $usersarray = ...
0
votes
1answer
27 views

Rename category part the permalink without .htaccess

I have pretty permalinks that look like this: http://mysite.com/category/my-blog-post/ I want to rename "category" into "company-news", to make it look like this: ...
0
votes
1answer
93 views

Temporary download page or restrict static download page based on how the user got to the page?

I basically want to know it if is possible to create a system where either when a user wants to download something it creates a temporary download page (not a download link, this I want static - I ...
0
votes
1answer
133 views

Retreive tags from attached post for media on page

I am working on a custom template file that pulls all images in my Media Library with a specific tag. I was able to get this working with some help from the community, it also shows the title of the ...
0
votes
1answer
200 views

If you're calling a dynamic css inline style does that div have to be in the loop?

In the code below i reference "the_field( 'bg_img' )" within my first container div. The reason i do this is because i created a custom field (within a CPT) that allows the admin to change that ...
0
votes
1answer
148 views

Custom Twenty Thirteen fonts?

Is it possible to change the fonts? I come from twentyeleven. I am used to declare the fonts in the CSS and upload them in different formats to the sever. I need to use my own custom fonts... I ...
0
votes
1answer
265 views

Custom booking form field not saving

I am trying to follow this debugging tutorial on adding custom booking form fields - Link My intention is to add a field, which is required, that is saved amongst the other user data when they ...
0
votes
1answer
133 views

WordPress showing strange characters - UTF8

I've just changed webserver but are having some problems with the encoding of the new site. I have exported part of my WordPress site from my old webhost and imported into my new WordPress multsite ...
0
votes
1answer
1k views

How do I display Youtube/Vimeo video ID on custom post type when user enters it in custom meta box?

I have created a 2x shortcodes that displays a youtube video and vimeo video when the user enters the videos id in it, for example: [youtube id=""] [vimeo id=""]. Instead of entering this in my post ...
0
votes
1answer
2k views

Parse wordpress blog data using json api and ajax

I have seen lots of responses to how to extract data from wordpress blog posts using the json api plugin. Many uses $.getJSON, $.ajax, .responseData.feed.entries, success function() etc. What is the ...
0
votes
1answer
220 views

do_shortcode within post query

I am querying blog posts with a specific category (according to the template page slug, and want each post to output a slider, title and content. I'm using the wordpress plugin Anythingslider for ...
0
votes
1answer
39 views

How to set up wp multisite?

After installing falling all the steps (http://codex.wordpress.org/Create_A_Network) I tried to create sites. I can't access the dashboard of any site created. It says page not found (error 404). To ...
0
votes
1answer
248 views

Order custom taxonomy by date

I have custom taxonomy called series. I want to have a page where it lists all the Series with latest on the top. Series Series about fish Post 1 Post 2 Series about dog Post 1 Post 2 I ...
0
votes
1answer
40 views

Installing plugins on installation/activation

Is it possible to install extra plugins on certain plugin installation/activation? I tried to install them using: $upgrader = new Plugin_Upgrader(); $upgrader->install(...) But it's not ...
0
votes
1answer
93 views

How to set default values for edit_post_link() in my theme?

How do I set default values for the edit_post_link function in my theme? I'd like to change the 'Edit This' string to a custom value, but specify this only once, so I can use instead of everywhere. ...
0
votes
1answer
42 views

Can't get pagination to work with this WP_Query loop

I know pagination isn't as straight forward with WP_Query as it is with other loop types but normally I don't have a problem with it. I'm editing a site for a client and this is their current loop; ...
0
votes
1answer
193 views

attachment media-template data model (data.size.url)

I'm trying to build a media library where users can choose pictures that are being retrieved from custom folders, which they can specify the basefolder of. I'd like to keep using as much WP ...
0
votes
1answer
101 views

Multiple loop issue - pull one featured and then continue the loop

I am writing a custom multiple loop to be used on a custom category template page. The loop should put one post that is checked as featured in admin, in a separate div, and continue the loop ...
0
votes
1answer
294 views

Can you link custom post types to pages?

The reason i ask is because when i create pages they don't insert the usual name of the post type like CPT's do. For example if i create a page called toyota the URL would be ...
0
votes
1answer
118 views

Media uploader & manager: add/remove class on image with checkbox

This seems like it should be fairly simple, but I'm drawing a blank on it: Have a checkbox in the media uploader and media manager that, when checked, adds a CSS class name to the image. It should ...
0
votes
1answer
23 views

Pages, Categories, and working with someone else's code

I have working experience in Wordpress, and I have run into an issue that I can think of solutions for but I am not entirely sure of the best solution. I am working in Wordpress on a site that is ...
0
votes
1answer
29 views

Duplicate use of Wordpress plugin

I am stuck in a website and searching for someone to help me. I am using "Awesome Filterable Portfolio" plugin. I have to use it for different pages like Logo Design, Website, Print Graphics etc ...
0
votes
1answer
67 views

Contributor post to be reviewed and published by only one editor

I am trying to find a way/plugin where the posts of a contributor can only be edited or published by a specific user editor. Like for example, if I have a contributor named Steve and an editor named ...
0
votes
1answer
27 views

Navigational error

Basically I have an image for a header and I changed the link behind that to go to the main website and was planning on making a news option in the menu to link to the blogs main page, after changing ...
0
votes
1answer
58 views

How to devide post into more than one page using <!––nextpage––>?

I want to divide a post into multiple pages using <!--nextpage-->. Please guide me through this and also I want some customization in that. You can check here what type of pagination I want to ...
0
votes
1answer
32 views

Shortcoding with Divs

I am trying to turn a custom query into a shortcode but I am having some difficulty. Firstly, I am not sure how to return a custom thumbnail size via $return_string...in fact I am not sure how to ...
0
votes
1answer
85 views

Custom WP theme not showing shortcodes

I'm building a custom theme and am trying to use the Nivo Slider wordpress plug in. I have a widget area under my nav bar and for some reason only the shortcode shows, not the slider. I have read that ...
0
votes
1answer
147 views

Fake Single Wordpress Post (Page) Loop

In a plugin, I am building a custom page with add_action('template_redirect', function(){ include(TEMPLATEPATH."/page.php"); exit(); }); add_filter('the_title', function(){ return "Virtual ...
0
votes
1answer
36 views

How do I make just one of my pages a Blog Page?

I'm a newbie, so please excuse me. Notice the "static" nature of my site http://grandeduny.org/. The pages of this site are "wordpress static" by design, but I would like to have one Blog page, how ...
0
votes
1answer
49 views

Wordpress filter function using query modifications

I'm trying to build a filter function for the main query on a custom post type archive page. The custom post type is named "Hotel". For this custom post type i have a custom taxonomy named ...
0
votes
1answer
158 views

multisite registration: check existing subdomains while typing

I wish to ask how to build a real time control while a user attempt to register his website in a wordpress multisite installation. The control should check if the subdomain already exists while the ...
0
votes
1answer
89 views

Copy url from post_content to custom field

I'm new to MySQL so I don't know if this is even possible. I would like to copy a url that's in post_content to a custom field. The url is variable and it looks like this: ...
0
votes
1answer
45 views

bbPress - Post count increases after every edit

I’ve installed bbPress 2.4 recently and I’ve noticed that each time I edit a post, my post count increases. Is there a way to stop that from happening? Thanks. P.S. Is it normal for this to ...
0
votes
1answer
35 views

date function not correctly returning date

This code is being used to generate the date of a post in wordpress: <span class="the_date">Posted: <?php echo get_the_time('F d, Y'); ?></span> However it is not resutning the ...
0
votes
1answer
26 views

Designing a member area on my site

I am new to wordpress and I have a website I inherited and I have never even heard of wordpress. My first mini project is to create a page with my members that can then be linked to a personal page ...
0
votes
1answer
27 views

WP installed is asking to install if typed domain.com

I got a problem trying to access the landing page typing domain.com instead www.domain.com If I type domain.com/rus the WP goes to domain.com/rus/wp-admin/install.php but if I type www.domain.com/rus ...
0
votes
1answer
92 views

Always generate thumbnail after sideloading image

I'm sideloading an image into wordpress from youtube. it works fine and the key part of the code is: // sideload it into wordpress (generates various sizes) $thumbid = media_handle_sideload( ...
0
votes
1answer
123 views

Have video content populate page from upload sub-directory?

My question yesterday was too broad on this subject, so I will be specific: I teach music classes and at the end of the class, we record several short (30 second-3 minute) videos for the parts people ...
0
votes
1answer
288 views

“Widgets” menu doesn't appear

I'm developing a WordPress theme, which works great on my localhost and one of my live servers, but on my other live server the Widgets menu (from Appearance) doesn't appear. And yes, all 3 servers ...
0
votes
1answer
120 views

Sidebar does not display on blog page, but fine with static pages

Please help as I am loosing my mind with this issue. I built my first really simple wordpress theme. http://www.designstest.co.uk/ For NEWS (blog) page I created a new template page-blog.php (based ...
0
votes
1answer
206 views

Save custom meta box data to database

I have a custom post type Events. Under Events, I have a custom meta box which selects the time and data of the event: <?php $meta_boxes[] = array( 'id' => 'event_date_option', 'title' ...
0
votes
1answer
329 views

Getting Error 301 Redirect error

I am getting following warning when I do Wordpress SEO by Yoast: "The keyword / phrase does not appear in the URL for this page. If you decide to rename the URL be sure to check the old URL 301 ...
0
votes
1answer
57 views

how to manipulate HTML parameters using PHP conditions

hi im using my own customize stylesheet using twitter bootstrap in wp-admin. i have created my own navigation bar like below. add_action('admin_head', 'myNavbar'); function myNavbar(){ echo " ...
0
votes
1answer
108 views

Successive creation of over 1000 posts causes 404?

I'm developing a bulk importer. It basically takes images and converts them into posts. Each image will be created with 10 different related posts therefore each image will represent/create 11 posts. ...
0
votes
1answer
69 views

Fetch data from a WP page with same name as current username

Ok, so this sounds a little complex, but in theory should be easy. What I'm trying to achieve: ACF data is pulled from a WP page which has the same name as the current logged in user. Basically I ...
0
votes
1answer
530 views

Wysija Newsletters: Redirect After Subcription

I am using Wysija Newsletters plugin. After I click button "Subscribe", I want to be redirected to custom page. How to do I this? Can you can do this? This is my page: ...
0
votes
1answer
64 views

How to show only 1 post from a specific category on the front-page

On my front-page i have a 3 col block section below the fold. The final and third column is an excerpt of the most recent post from my art category blog, hopefully this is clear up until here in terms ...

15 30 50 per page