1
vote
0answers
5 views

Transferring WordPress Database - Serialised data

I'm attempting to migrate data that is using a plugin (WordPress Job Board) to a new instance of a plugin (WordPress Job Manager). The plugins are storing data differently in certain parts of the data....
-1
votes
0answers
8 views

How can I create a drop list (dropdown submenu)?

I've converted my HTML theme to WordPress, but I need know what code I can use in header.php and functions.php to create a drop list using CSS, without jQuery. I'm using this code in header.php: <...
-1
votes
0answers
8 views

Schedule some work in custom plugin

I want make a scheduler to update a table in the database every 24 hours. After searching, I found this: if (!wp_next_scheduled('jw_cron_hook')) { wp_schedule_event(time(), 'two-minutes', '...
0
votes
1answer
7 views

how to get title to custom tags page

how to get title to custom tags page ? & how to make if condition like to my taxonamy if ( is_page() ) { the_title(); } elseif ( is_tag() ) { single_tag_title(); } tax: add_action( '...
0
votes
0answers
8 views

Post tags saving as both tag name & tag ID on post update when tags are displayed as checkboxes

I've created a custom non-hierarchical taxonomy and changed it to display as check boxes instead of a tag cloud. However when I am in the post editor and select on of the available tags then update ...
0
votes
0answers
14 views

apply_filters with multiple args and multiple add_filter

I'm using apply_filters to bridge the gap between plugins but am struggling with the arguments. There is one argument, an array, there are several implementations of add_filter to match apply_filters ...
0
votes
0answers
5 views

Wordpress draft posts list disappeared

In my wordpress admin dashboard draft posts list disappeared. How to solve this problem?
0
votes
1answer
10 views

Custom Tags Archive - permalinks not working

I need to create Custom tags archive like normal tags in post_type "post". ex: i need this http://sitename.com/mtag/test work like http://sitename.com/tag/test add_action( 'init', '...
0
votes
0answers
17 views

Very slow query for getting posts with postmeta

I have an heavy query generated by an search page which should get filtered posts based on some meta data. SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( ...
1
vote
1answer
6 views

Custom image size / thumbnail - Crop to aspect ratio even when source image is smaller than set dimensions

Normally when you set a custom image size using hard crop - e.g. add_image_size( 'custom-size', 400, 400, true ); - you get the following results: #1 Uploaded image: 600x500 > Thumbnail: 400x400. #2 ...
0
votes
0answers
8 views

Android many textviews align side by side in linearlayout or relativelayout [on hold]

I am new in Android and I try to formatting Quran page content. It is word by word textview. I have to show it side by side align right. Please suggest me how to display it side by side Style ...
0
votes
0answers
9 views

how to add price table list horizontal on main page from wordpress? [on hold]

I have my website name is http://cheap-web-hosting-india.com/ and i installed wordpress! i want price table about web hosting comparision! you see example how to make table price horizontal only but ...
2
votes
1answer
17 views

How to update single value in multi dimensional Post Meta?

There are some values in Post Meta Data stored as a multi dimensional array. I want to update some of their data. Here is the Post Meta value displayed using <?php the_meta(); ?> voter: a:1:{s:...
1
vote
1answer
31 views

How does wp_enqueue_scripts work?

I have a WordPress page for my table tennis club. There is a site with all the current standings and I want to parse a table from it to one of my wordpress pages. I created a dynamic table with php ...
-1
votes
0answers
18 views

Functions.php file in a custom child theme messed up without backup

I just ran into some problem. I'm a beginning Wordpress dev. I don't know much and I have messed up my functions.php file. Here's how it happened: I copied the code from This site. This was supposed ...
-1
votes
0answers
25 views

WooCommerce change price from URL endpoint / parameters

Here is what I am trying to do: A fellow site makes a request to my site like this: http://example.com/?add-to-cart=14&REQ&id=32&key=6337 Then if the REQ parameter exists, I crosscheck ...
0
votes
0answers
11 views

How can i create and insert woocommerce attribute programmatically?

I have xml file with products informations that i want to insert in to woocomerce. I am triying to figure how can i create attribute automatically (pa_color, pa_hard drive, pa_screen…) if it doesn ...
0
votes
0answers
36 views

Submit the form#post form via Javascript [on hold]

I have been working on a workflow for our lesser tech savy writers. They wanted things very spelled out, so I've created the below meta box and have hidden the publish meta box on an edit post page. ...
0
votes
1answer
15 views

Groups and subgroups for permission

I have a problem. I would like to have "groups" to give access to posts. And "subgroups" to show different sections of that post. A simple example: "Only users from Group 1 can access to Post 1. And ...
-3
votes
1answer
15 views

Keeping Div in the same position relative to another Div [on hold]

I have a wordpress site which I am developing a couple images and figcaptions for. I am currently having trouble keeping my figcaption and transparency effect in the same position relative to the ...
0
votes
0answers
10 views

Creating User and Setting Role Problem

I created a php script that runs after a gravity form is submitted. after I validate the authenticity, I pass them them through a script, that again authenticates the key, to make sure it was just ...
-2
votes
0answers
12 views

Wordpress Theme like http://uiu.ac.bd [on hold]

Is there any theme like this website is using http://www.uiu.ac.bd . This university use wordpress. Thanks in advanced
1
vote
1answer
15 views

How to add nofollow site-wide

I'd like to change the meta robot tag on my site to be noindex and nofollow. When I set the WP settings in "Search Engine Visibility" to "Discourage...", it only generates: <meta name='robots' ...
-1
votes
0answers
13 views

Testing dev e-commerce site with live merchant account

I'm currently using WordPress with storefront/woocommerce with Authroize.net for payments to develop an e-commerce site. The old site is still live but I'm wondering if I can test the new shopping ...
1
vote
0answers
9 views

Mail Form in a modal box without plugin

I've builded a WordPress theme based on Twitter Bootstrap 3.x. I've a mail form in modal box. When I click submit button, it returns 404 error page. I also checked for reserved names in $_POST and $...
0
votes
1answer
19 views

How to add a “Read more” button to my blog?

I have an HTML template which I convert to a Wordpress theme, but i can't add a "Read more" button to the home page. I use the following code in functions.php: function the_content_limit($max_char, $...
0
votes
1answer
15 views

Can I customised default WP table

I have a XML file that consist of product information. Format of XML file : <product> <name>Product-1</name> <description>this is product 1 description</...
1
vote
1answer
22 views

Is it possible to modify the media library admin screen?

I've been searching for a few hours now but I can't seem to find a solution to this. I'm developing a plugin and I'd like to be able to add custom text underneath the admin media library heading. I ...
0
votes
0answers
33 views

What things should I learn to develop a perfect WordPress theme? [on hold]

I'm new to this tech stuff. I had a little experience with coding. I used to code in Java and C. I've never touched PHP. I had a very little experience with HTML and CSS, probably building basic HTML ...
0
votes
1answer
9 views

get_attached_file returns wrong path after changing media upload dir

I've changed the default WordPress media upload dir (http://example.com/wp-content/uploads) to (http://example.com/uploads). Everything is OK and media files are uploading and showing correctly. But ...
-1
votes
0answers
7 views

Custom shortcodes for Events Manager

I've extended Events Manager plugin with a few Custom Attributes for the location, e.g. locationcategories or opening times. Now I want a shortcode for a list of all locations with a specific ...
-2
votes
0answers
6 views

How do you add image attribution?

I'm not just asking about the "add name / site link to bottom of your image" thing... How do you add information (tags, attribution, etc) to an image, so that when someone else drags it to their ...
0
votes
0answers
16 views

How can I add & validate custom registration & edit profile Fields and show value in my profile page?

I already added custom registration & edit profile fields in my theme's template-register.php.I added the following code for costume registration fields: <div class="column sixcol"> ...
-2
votes
0answers
9 views

Broken image (logo) in front page

I prepare my WordPress blog but the logo which is appearing in the top of the front page is broken. I made a check for for permissions in upload folder ant it is 755. I think is not the problem. The ...
2
votes
0answers
14 views

Custom values are not translated

I'm trying to translate my plugin. Inside plugin's root folder I have 'inc' folder, where located registration.php file. This file has a code, which adds custom fields to comment form. (I use right ...
0
votes
1answer
9 views

Display data on Word Press site posts and pages from mysql table

I am new with word press and I have a table in phpmyadmin which has the data which i want to display in my word press site on different posts and pages. I have searched a lot around and came up with a ...
0
votes
0answers
15 views

Adding a term to a listing inside of shortcode that otherwise contains permalinks to custom post items with custom field values

I have this shortcode to output all items of custom post type "song", on a page listing all the songs a musician released throughout his career. // Custom shortcode, to query tracklistings on the ...
-1
votes
0answers
14 views

Sidebar doesn't appear on front page

When I uploaded my theme to wordpress, it didn't show the sidebar on the front page. It didn't had "get_sidebar" command in index page so I added it under get_header and then my main content bar ...
0
votes
0answers
5 views

Custom Htaccess Redirection [migrated]

I want to redirect my old site to new site via htaccess. There is a catch - I want custom redirect means 10 pages of old site to new site via url to url redirection. Url of 10 pages is same on new ...
-1
votes
0answers
17 views

Woo Commerce product image upload own Product image

Upload product Image Here there will be simple functions to crop (to standard aspect ratios) and rotate the image (90, 180, 270 degrees) . I do not need filters. The image should be analyzed and the ...
1
vote
2answers
31 views

Loop and Page template : my WP_query don't take args

I have a problem with a loop that I try to put into a custom Page template. I would like to display posts with conditions, but whatever I put in my WP_query parameters, it is not taking in ...
0
votes
2answers
36 views

How do I disply an array inside a custom post type?

I tried to create a table output with the content of a custom post. I can echo my city properly: <span style="font-weight: bold;">city: </span> <?php echo get_post_meta($post->ID, '...
-1
votes
0answers
31 views

Where to place script in while loop

I'm currently working on a grid template for a WordPress Custom Post Type loop. Basically I'm showing a video cover and when the user is clicking the cover a Modal opens with video and more opens. ...
0
votes
0answers
7 views

Multiple and inter-related Taxonomies Dropdowns for filtering posts

Im trying to build a simple search, where the user can filter posts from 2 dropdowns, each one with the terms from a custom taxonomy. When the user selects a value from the first dropdown it would ...
0
votes
1answer
15 views

execute custom function on database connection error

is it possible to execute a function on wordpress db connection error? I mean is there any hook or something in the (error stablishing database connection) thing...? I want to do something when I get ...
0
votes
0answers
10 views

Twitter Digits + WordPress

Guys I need one thing: I want use ONLY phone number to signup/auth with my wordpress site. How it's possible to do with Twitter Digits service? I generate a key on the Twiiter Digits side... but now ...
1
vote
0answers
15 views

How to retain HTML5 Attributes on Markup

I have a page with certain html markup and element attributes as shown in the snippit below: <ul class="accordion" data-accordion=""> When I edit the page as a user with the WP Administrator ...
0
votes
0answers
9 views

Order by string custom field not working

I want to sort posts by a custom field but I don't know why the following query doesn't work (returns the posts in the default order): $args = array( 'post_type' => 'proyectos', '...
0
votes
0answers
8 views

Exclude category that matches custom taxonomy slug

I'm attempting to create a separate list of categories, one list showing "key categories" that is assigned through a custom taxonomy. Then another list showing all categories related to the post ...
-2
votes
1answer
13 views

Child's Theme: changing style using css id tag not working

<li id="menu-item-10" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-10"> </li> this is the html element I'm trying to access. I've tried: #menu-item-10 ...

15 30 50 per page