Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

0
votes
0answers
39 views

Migrating a taxonomy's tags to the native category

So, I've inherited a website that uses a custom taxonomy for no real reason, leaving the native 'category' taxonomy unused. As the site is undergoing a redesign, I'm going to want to use some new ...
0
votes
1answer
106 views

Add a custom form on the post-new.php admin page

i need to add a custom form on the post-new0.php page of the admin of wordpress. ( this form will load an external script in ajax and fill all the field) I'm able to do it via my plugin with ...
0
votes
1answer
200 views

Get terms for a specfic post from multiple taxonomies in custom post type

I have created Custom post type 'references' and two taxonomies under this e.g "Custom Taxonomy A" have Categories "Cat-a1" , "Cat-a2".... "Custom Taxonomy B" have Categories "Cat-b1" , ...
0
votes
1answer
22 views

Add post tags to previously created custom post type

I am trying to add post tags to the custom post types bbpress creates, so that I can do some "related topics" kind of stuff. Is there a function that adds a post support like 'taxonomies' => ...
0
votes
1answer
106 views

How can I output the custom fields wrapping with HTML

I am trying to publish custom fields created using the plugin "Advanced Custom fields". I am able to display them on posts and custom post types as raw output. But I want to wrap html around the ...
1
vote
1answer
216 views

Show newly added posts since last user login time /date

I'm looking for a solution to create a custom loop which will only display the last added/ modified posts since the last user login to the site. It shouldn't be that complicated doesnt it ?
0
votes
1answer
47 views

Display metabox with date

I'm trying to add metabox with date in WordPress. I used code from this page It works well, but I have a problem displaying the metabox values on page. My loop: <?php ...
0
votes
1answer
48 views

Custom post type tags not showing in search

I have a number of custom post types for which the admin can tag each separate posts. The problem : None of the posts show upon front-end search query with any of the tags... Is this normal ? have I ...
0
votes
0answers
49 views

Pull Data from DB for Admin Page Display as Relates to Admin Page Class by BA Internet

Why do developers make it so darn hard to use the tools they develop? Don't answer, I already know :) Have had some success using this: https://github.com/bainternet/Admin-Page-Class ...to develop a ...
-1
votes
1answer
293 views

Move Genesis Single Page/Single Post Title

Im not sure on how to do this .. But what i want to do is . Move the Page/Single Post Page title. Remove the title for Homepage only. Keep the titles of my posts. (Loop page) or (Blog Page) ...
0
votes
1answer
35 views

Problems making shortcode with custom post types and taxonomy

I have a custom post type work-gallery and a custom taxonomy use which serves to categorize the posts. I am trying to develop a shortcode which enables me to output the work-gallery posts that belong ...
0
votes
1answer
29 views

register_sidebar 'after_widget' on custom-built widgets not implementing, caused nested widgets

In registering my sidebar I want each widget wrapped in <aside>. This works fine when using the inbuilt widgets like Calendar or search, however, when I add widgets I have created myself, the ...
1
vote
1answer
53 views

How to hook up search results page to a back-end page?

On my site, editors can upload "banner" images to every page on the site. However, I'm having trouble figuring out how to link the search results page to a back-end page (ie the page that appears at ...
0
votes
0answers
16 views

Pagination on Single page doesnt work [duplicate]

I am trying to have a list of other/previous posts with pagination on single page under the main post, But the below code doesn't work. Can someone point out where am I getting wrong here? <div ...
2
votes
1answer
129 views

Admin Post Update Redirection to Posts Screen

Is there a hook I can use that when a post is created or updated it goes back to the list/table page of all the posts. If it is also possible to target a post type as well that would be cracking. ...
0
votes
0answers
46 views

restrict access to specific urls on a specific period of time

I have a countdown timer plugin which is set do redirect the user to a specific permalink after the time is elapsed. I've added a countdown timer here : mywebsite.com/mypost which is set to 3 days ...
0
votes
1answer
178 views

Fatal error Call to a member function insert() on a non-object [closed]

I am running Custom Query on functions.php: function subscribers(){ if(isset($_POST["email"])){ $email = $_POST["email"]; echo $wpdb->insert($wpdb->easymail_subscribers, ...
0
votes
1answer
13 views

How to setup a taxonomy that can have only one post assigned to it?

I have a Custom Taxonomy of, "Show on Front Page". I would like only one post to be assigned to this. So if I went and created an new post and checked the "Show on Front Page", the previous post that ...
0
votes
1answer
26 views

Two searchforms with different categories/posts per page

For a project I'm working on, I need two different searchforms. One is a global searchform that is always visible in the header of the page, that searches everything in the website. The other one ...
0
votes
0answers
41 views

custom Image upload coding wordpress

Hello im working on WordPress plugin with separate data tables in same database. so far im doing okay with add new post. I want to add images to my post. I tried many things but so far I've got ...
2
votes
1answer
105 views

How do I change the default admin color scheme in MP6

How do I set a different default admin color scheme for all users? For example, it's set to MP6 as default now, but I want to make it MP6 light by default. The users may or may not change it later! ...
0
votes
1answer
30 views

Collection of fields in a single post

It's possible to create custom post types and custom fields but, is it possible to create custom field collections? That is, groups of different fields as an entity (a dropdown, two images and a ...
0
votes
0answers
33 views

How add / edit dynamically same meta boxes in CPT?

What I would like to do? :) I am sorry, but I am not native English, and I a newbie in WP. I don't know how I can search on it. So I created CPT (this is my first wp plugin). In CPT I only need the ...
0
votes
1answer
22 views

relating business and products with custom taxonomy?

This isn't a code question so much as a how would you do that kind of question. What I can't figure out is how to relate businesses to the the products that they sell. If I've got a custom post ...
0
votes
0answers
78 views

Unable to show messages using 'admin_notices'

The plugin I am working on has a table in the admin area with a single entry corresponding to single row. The admin has an option to perform certain actions on the table contents one of them being ...
1
vote
1answer
38 views

Include user defined styles without including wp-load

I've looked through the answers on here and none quite match my situation. I have custom CSS that a user can edit and it is saved in the options. I use wp_enqueue_style to include a PHP file with a ...
0
votes
0answers
22 views

Custom search pagination links not working [duplicate]

I'm trying to create a search form on a custom post-type single page as here http://wpadvancedsearch.com/ but when I turn to the next page pagination is simply reload the page. Here is my code ...
0
votes
1answer
60 views

Add Excerpt On Quicksand Plugin

I'm using this plugin called "Quicksand" for Wordpress.. You might wanna check the link. What it does normally is it filters posts based on the category.. It shows the Featured Image Title of ...
3
votes
1answer
58 views

2 seperate installation 1 theme same server

i got 2 separate installation on the same folder each in their own sub folder - they use the same theme which i copied twice. Every time i edit a file i need to do it twice and its a real hassle... ...
0
votes
2answers
29 views

Customizing Comments

Hi I want to customize the text with the arrows pointed at at the image I have uploaded. I have managed to customize some but I cannot find the file to customize the rest. Many thanks its on local ...
0
votes
1answer
45 views

custom comment fields on CPT

I want to create few comments custom fields for my CPT and remove the default ones. I will have just two custom fields more exactly 2 radio inputs. Here is my code: function ...
0
votes
0answers
33 views

Multiple Select Boxes Settings API

I know how to do select boxes, those are easy - but how would you do multiple select boxes? where you can select and save multiple things? Would you still use the selected() function? if so can some ...
0
votes
0answers
31 views

Add a custom field to post

I want add a column to my table wp_posts with name "address". So EVERY post have address like field. But i don't know how i can manage the save from Add Post(admin)... I have looked into hooks, but i ...
0
votes
0answers
158 views

How to add attachment in woo commerce send mail function

I am using woo-commerce plugin. After the checkout process, I am sending a mail to customer, it's working good but also, I want to attach the product image into the mail. I am not getting any idea how ...
0
votes
1answer
947 views

Woocommerce custom email after order is submit

I want to create an custom function that can send an custom order email to an chosen supplier (in the checkout form). But when i try to get the data from the checkout in the email, the checkout form ...
0
votes
0answers
11 views

How to make category page as the home page? [duplicate]

In this forum I´ve found this thread http://bit.ly/17IuDBh but using the code in my WP MAXX theme doesn´t work. <?php query_posts('cat_id'=>'3');?> <--insert loop--> I have ...
0
votes
1answer
44 views

Pagination on Custom Loop

I want to style the latest post differently than all the other posts in a category on a custom page. So far I have this code below which does exactly that: <?php if (have_posts()) : ?> ...
0
votes
1answer
246 views

Add an Outside Wrapper to my Header and Make it Full Width

I did reposition the <header> outside the 'wrap class' class by adding this function in my function.php /** Reposition header outside main wrap */ remove_action( 'genesis_header', ...
0
votes
1answer
35 views

How can I add a Description column to the media library browser screen?

I'm trying to display the description of each file on the media library browser screen. I've found some code that adds a filename column, but I'm trying to modify it so that it will display the ...
1
vote
1answer
107 views

Customized title tag for each page in pagination?

With the reference of below questions. How to change title tags on paginated posts? Paginate tags page How to change title tags on paginated posts? Add Page number to Meta Description in Wordpress SEO ...
0
votes
0answers
38 views

Display image in descending order from database table

I have used woo commerce plugin ,I am trying to display images in descending order by order_id in word press dashboard on orders tab.I tried lot's but not getting any idea how to do that.Bellow is my ...
0
votes
0answers
68 views

Insert image in custom row using woo-commerce plugin function

I am using the woo commerce plugin in bellow function ,I am trying insert one image which is stored in one session variable into the custom row woocommerce_order_items table File Name-> ...
0
votes
3answers
91 views

adding multiple custom columns to users.php

I'm trying to add two columns to the users.php file. I'm not sure how to add both $total_time_display and $logged_in_amount_display. How could I return both values? Here is my code: ...
0
votes
0answers
47 views

Custom Taxonomy Term in Custom Permalink Gives 404

I developed a small plugin to be able to add a custom taxonomy as a string to a post. I've included the variable in a custom permalink string. This string is used by Apache to determine if external ...
0
votes
3answers
134 views

Custom Loop Pagination on WordPress

I'm trying to create a magazine style website. For this particular page (not homepage) I'd like to fetch the latest post and style it one way (style1). For all the other posts I'd like to just display ...
0
votes
1answer
173 views

Woocommerce : Show errors in the settings payment gateway

I'm programing a custom payment gateway for WooCommerce and I want to show an error message in the setting payment. I was view the class WC_Settings_API : public function process_admin_options() { ...
0
votes
0answers
72 views

Custom folder structure and problem with 3rd party services

First off, I've customised my WordPress folder structure a bit: wordpress/ contains all the files a fresh WordPress install does (wp-admin, wp-includes, etc) The problem I'm facing is that a ...
0
votes
1answer
37 views

search meta field for a value in all posts

Hi I want to search meta field for a value in all posts. Code below shows what i want to accomplish (im wp and php beginner and cant manage to make it work by myself). If in meta field "voted_IP" ...
0
votes
3answers
127 views

How do I insert a post with custom post type and relate it to a custom taxonomy?

I'm trying to figure out how to insert a new post. I have a custom post-type (course) that is related to a custom taxonomy (categorycourses). I've managed to insert a post with custom post type ...
0
votes
0answers
13 views

Insert retrieved image into another table?

I am retrieving one image from a table name "user_templates" after retrieving ,I have to insert that retrieved image into another table name "ca_woocommerce_order_items" but I am not able to insert ...