Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

0
votes
1answer
33 views

Auto create description in post

I want to create a script for when I add a title and an image to a post, and then when i publish, i want it to auto create a description Something like . . . . . You are viewing [title of post]! ...
0
votes
1answer
54 views

How to cdv from a custom CMS to WP

I'm working with a client to move their content from a custom CMS to WP. They've sent me this csv to work from. https://dl.dropboxusercontent.com/u/54924720/TOTD_SCRAPE_TAKE1_.csv The only csv to ...
1
vote
2answers
35 views

Auto login after wordpress installation

I am creating a product in wordpress and here i am installing the custom theme and plugins during wp installation. No problem until here. But the admin wants to login automatically during the ...
2
votes
2answers
282 views

Add multiple custom fields to the general settings page

What I would like to do is to add a few custom fields to the general settings. This is the code that Im using. It works allright but I just cant figure how to add more fields. I would like to create ...
-1
votes
3answers
10 views

How to have 2 posting pages on a blog

It is possible to have 2 posting pages on a page? I have a static home page and I want to create 2 more pages for my blog which are "News" and "Recent Projects".
0
votes
0answers
19 views

Modify link in widget archive

I want to add Google campaign to link in default wordpress widget archive. How can I do this?
0
votes
1answer
29 views

How to keep the /blog slug even in single post slug

I have a simple website on wordpress (latest version), assume example.org. I wanna have the user posts at something like example.org/blog/username/posttitle. So I need some levels: 1) ...
0
votes
0answers
30 views

Custom WP deactivate an email activation link sent to user's email.

As the title stated, instead of using the WP default recovery password page, I created a custom reset password recovery page template. Everything is working except I'm not sure how deactivate the ...
0
votes
0answers
42 views

How do I create a custom archive page that my client can edit?

I've created a custom post type. I have set has_archive as true and understand I could also set it to has_archive => 'ctp' I also know that if I name a template file archive-cpt.php Wordpress will ...
1
vote
0answers
51 views

How can I add custom meta on signup page and pass along to be used after blog activation?

I am trying to customize a signup process for our MultiSite Network I need to be able to assign levels based on a choice at signup. My thought is to add a field (hidden or otherwise) that holds the ...
0
votes
1answer
38 views

How to customize the gallery shortcode in WordPress?

I want to change WordPress's main gallery shortcode style to something like the picture below! Any idea ?
3
votes
2answers
100 views

When is it appropriate to put functions on page template vs. functions.php?

I'd like to improve my code and on a current theme, I've extended Wordpress with custom post types, metadata, customized user authentication, and a number of other items. Some of these functions ...
0
votes
2answers
22 views

Date when the custom field was added

I have a couple of custom fields setup and working fine, is there any way to show the date when the custom field was created within the post template? I tried searching around, but no luck. For ...
0
votes
1answer
51 views

WordPress in a Subdirectory

I am trying to install WordPress in a subdirectory. This is a new fresh install. Here is what I did: Assuming my site is example.com, and I wanted to install wordpress in example.com/wordpress A) I ...
0
votes
2answers
75 views

How can I stop access of unregistered user in wp-content/uploads directory without using .htaccess file?

I want to give permission to only registered users into my wp-content/uploads directory and stop access for those users which are not members on my site.
0
votes
1answer
30 views

Customizing the Widget content markup

I am using bootstrap to create panels for the sidebar widgets, and I can set the container markup for the widget, as well as the markup for the panel header, but I cannot provide the markup for the ...
0
votes
0answers
36 views

cannot access subsites in wordpress multisite

Hi I installed wordpress multisite using instructions given on codex and created a site. But I cannot access any other than base site. As you can see in the screenshot below multisite is installed ...
0
votes
1answer
40 views

WP custom routing does not work

I am trying to get custom rounting on WP without any plugins. I have a bunch of links looks like this: http://example.com/u/UserNickname11 I've created a page with slug = "userinfo" and added such ...
0
votes
1answer
30 views

Pass query param to custom page

I had to create custom .php file that representing one page on my website. I did it by creating new page in admin panel, and then renaming my .php file to page-customslug.php (where customslug is ...
0
votes
0answers
24 views

Create or Update Post Slug from Custom Fields

When i create or update a post, i want to create or update the slug (url) of my post from Custom Fields and not the title...! An idea ? Thank you !
0
votes
0answers
37 views

Remove meta info for one specific category on all posts in that category

As for the moment each post on my site http://wonderfulwanderings.com (hope this is okay, just want you to know what I'm talking about) is displaying which category it belongs to. I would like to ...
0
votes
0answers
56 views

Foundation and Wordpress Footer Widgets

I'm trying to use Zurb's Foundation 5 and I have the following code that works great, IF, using 4 footer widgets because Foundation uses a 12 column grid. $sidebars = array('Footer'); foreach ...
0
votes
1answer
62 views

Admin - create custom post status and display above table

How do I create a custom post status and display it above the table of my custom post type? Example: All(9) | Published (7) | Custom_Status(2) I used the advance custom fields plugin to create a ...
0
votes
1answer
41 views

How to add an option to admin to add image that could be used as header?

I want to add an option to add/change an Image in admin dashboard in a way that I can call it through code. For example lets call it header_2 Image and then want to use it in an header template. So ...
0
votes
2answers
44 views

Get Value of Custom Field

I use a dropdownbox to show all custom types ('abschreibungstabelle'). It works fine. But now, I want to show the value of the custom field 'nutzungsdauer' in my input-field. Any ideas? <input ...
0
votes
0answers
12 views

Creating an item to list Contributors in main menu

I'm trying to figure out if there is a way to create a dropdown menu item that would list contributors? The hope is whenever a contributor is added it would automatically add them to the list. I've ...
0
votes
1answer
54 views

Multiple taxonomies & terms (no hyperlinking) in 1 function [duplicate]

I am trying to make a function but (because the lack of my knowledge) can't figur out how to do. The codex shows an example for using 1 taxonomy and 1 term and as output nice showing 1 Taxonomy / 1 ...
1
vote
2answers
70 views

remove_action conditionally for Custom Post Type

By default, my theme is showing an author box below my posts. I am using a custom post type, and would like to remove this author box only on this post type. Here is how the theme is calling the ...
2
votes
1answer
42 views

Distributing and packaging plugins

I have a project where I'll be using WP as a customer portal to an external application. The application is accessed via web services (soap/xml) calls. The application has quite a few forms and for ...
2
votes
1answer
103 views

Impossible to get Attachments Outside Wordpress?

My page (outside the wordpress install) begins something like this: global $wpdb, $wp_query; define('WP_USE_THEMES', false); include_once 'word/wp-blog-header.php'; $args = array( ...
0
votes
1answer
41 views

How to hide a custom field from admin?

I created a custom field that I would like to hide from the wp-admin (because the system generates it and I don't want user to change it; Hidding it with CSS should be OK in this case), Like this, ...
0
votes
0answers
43 views

query custom post type by date

I created a custom post type envent. I d like to filter out post in the futere. I did use the advanced custom fields plugin to make a date picker. I used following code, but somehow id does not filter ...
0
votes
0answers
14 views

Need an idea of how to realize filling of accordion by editors

I have and accordion (something like this one but smaller). I already made one. OK. But I can fill it only using WordPress built-in theme editor (just changing php). My customer don't like this ...
0
votes
0answers
114 views

Add a user role from a registration form

Is there a way to add/create a Wordpress user role from the woocommerce registration form? I use a plugin called members that allows creation of new roles, but only from the admin page. I want to add ...
-1
votes
1answer
33 views

Limitless amount of posts in custom archive page

I want to get rid of pagination completely on my custom archive, I want everything on 1 page. How can I do this? Currently I'm getting my posts with: <?php query_posts($query_string . ...
3
votes
2answers
358 views

How to change admin bar color scheme in MP6 / WP 3.8 front end?

I need to change default color scheme for all users. The admin bar on my site is vidibile for all users including guests. The default black color scheme isn't beauty with my design and I would like ...
0
votes
0answers
70 views

Custom User Role: Upload and edit images, but not edit posts - any other way?

I have a question pretty similar to this one: Why does my custom WP role need edit_posts to edit images? but I couldn't make their solution work. And I couldn't comment there because I don't have ...
1
vote
1answer
173 views

Remote upload file to server B

I'm aware this might be some of the hardest coding to do ever, but thought of giving it a try. Im basically trying to detect all (mp3) filetypes uploaded through the Wordpress media upload and send ...
0
votes
0answers
19 views

General plugin customizing question problem

I've already asked this question within the plugin specific forum but I'd thought I would try here as a general question for any plugin. I'm trying to use the WP-MEMBERS plugin and I noticed that in ...
0
votes
1answer
59 views

get_var result empty for query of custom table in plugin admin

(There are a lot of related questions to this but none I can find with answers that have worked.) get_var returns empty when I query a custom table from a custom plugin for multisite. What am I ...
0
votes
3answers
103 views

Capability to edit own posts and not others

What is the capability that let users to edit their own posts and not others? I am trying to enable the post authors to avail a plugin function only on the posts they own. The permission to access ...
0
votes
0answers
39 views

Custom PHP script within WordPress sub-directory

I've a page with a section called /catalog/ within WordPress. I have a custom php script and I want this script to be accessible via /catalog/script.php. Is there any trick that will allow me to do ...
0
votes
0answers
16 views

Create a folder if it doesn't already exist

I've run into a few cases with wordpress installs with bluehost where I've encountered errors with my wordpress theme because the uploads folder (wp-content/uploads) was not present. Apparently the ...
0
votes
0answers
15 views

Display custom posts from a custom taxonomy, sorted by another custom taxonomy

I am developing a Nature section on a website. I have a custom post type which contains several custom taxonomies (Group, Order, Family). So I have the following posts categorised like this - Group ...
0
votes
1answer
49 views

Given two custom post types: Automatically add meta fields from one custom post type to another

Custom post type "Company" has: Restaurant name field Restaurant description field ..and other more fields Custom post type "Restaurant" has: Restaurant name field Restaurant description field ...
0
votes
0answers
134 views

Responsive menu on genesis theme

Hi I'm customizing a Genesis framework theme Jane and I want to change the menu to be responsive with Twitter Bootstrap. I already found an question how to override the genesis_do_subnav function ...
0
votes
1answer
23 views

Update Specific Key Value in Complex `wp_options` object

This should b really easy but I can't find reference - easy points for someone! I have an option in my wp_options table, and need to set it via update_option(). I just can't find the correct syntax ...
0
votes
0answers
52 views

Open media popup to specific tab

The project I'm working on right now uses the wp brightcove plugin and has it added to the media popup window as a separate tab. I've been asked to make it so when someone clicks a video button (which ...
0
votes
1answer
385 views

Woocommerce: Remove Woocommerce default address fields

I am trying to remove / hide some default address Fields like as the Postcode (Zip-code) field in Cart Shipping Calculator / Whole Woocommerce ? Is there a function for this? I found in ...
0
votes
1answer
199 views

How to delete all records from or empty a custom database table?

I can't seem to find a simple reliable way to do this - perhaps?: // delete row ## global $wpdb; $delete = $wpdb->query( $wpdb->prepare( "DELETE * FROM `wp_table_name`" ) ); ...