Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

1
vote
0answers
26 views

How to host 2 subdomains as lookalike destinations under one master domain?

Due to restrictions on several required plugins, we cannot use multisite (some are not multisite compatible) at this time. So we have 2 sites with e-commerce that will look essentially the same (same ...
1
vote
0answers
39 views

How to rewrite the post URL according to the category?

I have 1000 posts in my website, half of them are in difference categories and another half is in category called "blog". Current permalink structure is: http://xxxxx.com/articles/%postname% - this is ...
1
vote
0answers
36 views

How to make theme elements customizable in wordpress?

In Wordpress there's a menu option called 'Appeareances'. I want to add (e.g.) a submenu 'header' there and then be able to customize the header from within wordpress (administration page). From what ...
1
vote
0answers
27 views

Order posts with a custom field but also without

I am querying and ordering posts with this code but my theme adds the custom field (cb_vote_nb_vote) only if someone clicks the "vote" button, since I am doing a listing, posts created without that ...
1
vote
0answers
343 views

How to redirect users to their profile after they successfully edit their profile

I am using the buddypress plugin for wordpress and would like to make a little change... I was wondering, if there was a way I could redirect users to their profile page after they save the edits to ...
1
vote
0answers
77 views

Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?

After WP3.8.1 upgraded, two plugins I made for my networks both stopped working. Each runs on a separate multisite install. I posted the error report on the Wordpress form: ...
1
vote
0answers
49 views

Is it possible to visually group items on the theme customizer?

My theme customizer is getting bigger and I think from an UX perspective would be nice to visually group some similar items. Is there way to do that? Something like put a divider or playing with CSS ...
1
vote
0answers
266 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
1
vote
0answers
83 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 ...
1
vote
0answers
93 views

Image Editor does not affect custom sizes!

Recently working with wordpress 3.5, I came across this patch :http://core.trac.wordpress.org/ticket/19889 ...which solved the problem of custom image sizes defined by my theme not resizing or ...
1
vote
0answers
154 views

custom upload directory only for plugin uploads

i'm trying to add an upload_dir filter only for plugin-uploads. does anybody know why the code below doesn't work, and what could work instead? thanks in advance! $upload_dir = 'publications'; ...
1
vote
0answers
251 views

Rewriting single post url; add_rewrite_rule problem?

I have to customize single post permalink (the structure of the permalink) if posts have a certain value in a certain custom fields. I use the filter post_link to change permalink when needed, and ...
1
vote
0answers
358 views

Can I create my own custom Attachment Display Setting?

I'm porting a client site over to WP from an old customized .Net CMS and something their existing system does well is the site admin interface contains a simple utility for uploading media to the ...
1
vote
0answers
90 views

Getting Theme element into plugins page editor in wp admin

I'm having a hardtime integrating a theme editing element (in default page/post editor in wp-admin) into page/post editor made by the plugin BU Versions. Basicly I need this theme element to ...
1
vote
0answers
58 views

Custom column working problem

I am adding a column to manage number of post shares on twitter. I made this code: function Twits($url) { $s = ...
1
vote
0answers
42 views

How to structure model showcase

I need to make a website of models that contain the following components: Model page - model info, editorials of that particular model Editorial page - containing some editorial info, link back to ...
1
vote
0answers
224 views

Admin search post meta

I have currently built a property database using WordPress and am purely using the back-end for the whole job. I am listing all the properties and used a plugin called "Easy Filter" to add custom ...
1
vote
0answers
68 views

Advanced author permalinks

I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive. So the idea is to change ...
1
vote
0answers
554 views

Skeleton Child Theme Add Icon Bar to Header Flex Grid

Skeleton Child Theme Version 1.6 WordPress Version 3.4.2 Child Theme installed on main Multisite: public_html, wp-content, themes. My CSS, PHP Coding skills = NOVICE What I've done: Using the ...
1
vote
0answers
62 views

How to build a simple nav system of custom post type categories and its posts?

I've been searching the web for a long time now, but couldn't find a solid simple anwser to, what seems to be a basic question: I have to output a list of custom post type categories and the posts of ...
1
vote
0answers
139 views

404 (category, pages, archives) when using custom rewrite rules

I'm using www.domain.com/%POSTNAME%/CAR permalink structure (CAR is the variable i need to extract. After adding the code to the functions.php the other wordpress url's stopped working (category, ...
1
vote
0answers
902 views

Multiple keyword search

I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one ...
1
vote
0answers
66 views

need help with existing code showing subpages

I am helping a friend make some changes to a wordpress theme. At the moment displaying subpages works only for one parent and its subpages (the one with id 31), but we want it to work for all pages ...
1
vote
0answers
1k views

Customize The Events Calendar to Include an Option to Expand for More Events Listings

I think The Events Calendar for Wordpress by Modern Tribe does a splendid job and does a lot for to turn a drab calendar into a streamlined and professional looking one. I like the ease of the ...
1
vote
0answers
67 views

URL rewrite of independent plugin?

I'm currently developing a more complex plugin for WP which can't be hooked up to the WP-API itself (Custom Post Types doesn't fit my requirements). Of course I use the API alot, because the data is ...
1
vote
0answers
390 views

Help with walker for nav

For some reason, this walker won't work when I pass in 'echo ' => 0, it always prints the nav, and never returns the nav as a var. I can't seem to figure out where it's by passing that in ...
1
vote
0answers
30 views

Create custom page and add it in nav menu by code

I am creating a plugin, and this time it should: create a page and add it to the nav menu, all by code ... Here is an example: http://img823.imageshack.us/img823/8531/09072012205520.png
1
vote
0answers
3k views

Extra User Profile Field Upload File / Image

I have been following the following tutorial to try and an upload form to the user profiles. ...
1
vote
0answers
194 views

Track usernames with piwik

I'm wondering if there is a way to send current logged username to Piwik and display it beside the ip address in the stats. I need to see which users viewed a specific page and which users downloaded ...
1
vote
0answers
777 views

GeoMashup plugin: how to customize cluster markers / icons?

Is there a way to customize the standard cluster icon marker which GeoMashup uses to display nearby posts grouped in a certain area? By default it's a red dot in V2, or a blue dot in V3. I nee to ...
0
votes
0answers
28 views

Is this possible with Wordpress it's rewriterules

I'm aiming at creating my own plugin but i'm having some troubles figuring out with the rewriting and so on. What i'm trying to build is that my client(s) can created their own "Vehicles". Well that ...
0
votes
0answers
16 views

How To Create Custom Taxonomy For BuddyPress Activity

I want to create custom taxonomy for buddypress activity post type so admin can categorize activity posts like assigning categories to standard Post type. I can not find any tutorial / article or ...
0
votes
0answers
17 views

Custom Post Type - multiple in single menu position

I currently have a couple of 'Custom posts types'. Currently, each of them has a separate item on the menu but I would like to add them all as sub for one position. I have somethink like this: Movies ...
0
votes
0answers
7 views

Integrate a gallery with thumbnail inside a div with custom field

I have a tough problem. I created in wordpress template, a portfolio page. When you click on a project picture, a new div opened with other project's pictures. But I would like that my picture are ...
0
votes
0answers
14 views

Output Video Download Link in template

I have a website that uses a "video" custom post type to display self hosted videos in post. I am trying to figure out how to make a download link for each video that uses this "video" custom post ...
0
votes
0answers
26 views

Custom post type category copies posts from “Posts”

I'm creating a custom post type and added function pricing_init() { $args = array( 'label' => 'Price Tables', 'public' => true, 'taxonomies' => array('category'), ..... And ...
0
votes
0answers
23 views

Get ORIGINAL image links from get_post_gallery

I use get_post_gallery( WP_Post, false ) to get gallery data because I build gallery HTML myself. However strangely it only gives list of ID's and list of thumb-urls. What is the best way to ...
0
votes
0answers
13 views

Unhook (or remove) Sidekick Customizer Option using a function

How do I remove / disable / hide the "Click for Help" Sidekick Drawer? I'm reading over the codex and I just don't see anything relevent between this and the plugin. I downloaded the plugin, start ...
0
votes
0answers
12 views

List all post from different post type on one page by CPT UI

I am a php begginer. I am using CPT UI plugin for one of my projects - free resources for designers. The idea is to have different pages for different type of resources. So I will create different ...
0
votes
0answers
25 views

Addressing Child Page from Custom Menu

I build the website of an association with centers in different cities. Each city's pages need their own sidebar. I want to program an automated solution where the editors dont need to select ...
0
votes
0answers
25 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
0
votes
0answers
20 views

Flexslider+Vimeo APi in WP

I created a custom post type using flexslider. It supports video (vimeo/youtube) and images. It works but I need to add the vimeo api (froogaloop) because I need: The video to automatically stop ...
0
votes
0answers
22 views

Plugin Modifications

I have downloaded a plugin form the WordPress site and i need it for my needs I have added a custom metabox and a Check box to the WordPress post page function save_custom_meta_box($post_id, $post, ...
0
votes
0answers
28 views

image_send_to_editor filter

I'm trying to achieve the code below, when using the normal default editor in wordpress. <div class="col-md-6"> <figure> <img class="alignright" ...
0
votes
0answers
43 views

Help needed with Wordpress Function/Loop please

I mostly come from a Front End/Design background and have built a few sites in Genesis/Wordpress but I am now delving into the world of making Custom Posts and pages through using a variety of ...
0
votes
0answers
19 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
14 views

How to create some “theme settings” page in admin?

I'm using today some PHP constants in my functions.php to define default info about my company, as follows: define('COPYRIGHT', 'copyright_text'); define('CONTACT_EMAIL', 'oi [arroba] ...
0
votes
0answers
25 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
0
votes
0answers
22 views

How to add comments on a custom page with URL parameter?

I tried to look for this for several days but I can't find anything. Maybe I'm not using the good "words" so I hope someone we'll guide me in the right way. I am building a custom page with a list of ...
0
votes
0answers
7 views

How to limit upload count once per session?

I'm trying to create multi vendor marketplace, What I need to know is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload one file. Instead of completely ...