Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

1
vote
1answer
270 views

Multiple sites/domains with content all managed by single installation of Wordpress

I've had an interesting request from a client, and subsequently spent a couple of hours looking into it. The crux of it is exactly as the title of this post suggests: they have 3 separate sites with ...
-2
votes
1answer
41 views

Problem display

Hy I have this code: <?php $id_film_array = get_post_meta(get_the_ID(),"info_film", true); $id_film = $id_film_array[0]; $titlu_film = get_the_title($id_film); ?> <?php ...
2
votes
2answers
3k views

Can I create front-end editable user profile pages with Wordpress? How do I do it?

I'm trying to build a WP site where using the front-end, each user can: Register through the front end using basic fields Log in Create their own profile page using multiple forms Upload text, image ...
1
vote
2answers
99 views

Page-loop is looping content from custom loops on the same site. How to avoid that?

i've made a custom home-page (with a template) and i'm using three loops on this site: two category-loops and on the bottom of the site the main loop for the page (the page content). the problem is: ...
0
votes
1answer
53 views

Multiple item layout with one query

in my homepage I have content boxes with different layouts. Every box has an image and the post title corresponding to a single post. How should I use only one single get_posts() and format the layout ...
4
votes
1answer
100 views

Any way to create a revision of a post ONLY with a new button in the Meta Box?

Quite sure there isn't a way baked in to do this, but anyone have any ideas on how I would get something like this done? I want to turn autorevisions off and ONLY have a revision created when a button ...
1
vote
1answer
104 views

pull non-wp site into content area of wordpress -or- pull wp header into non wp site?

I am building a site which has a ecommerce nature that is not able to be tied directly into wordpress. What my goal is to have a constant header that is generated by my wordpress header on all pages ...
1
vote
3answers
730 views

Buddypress Add unserialized Profile Fields in Members Loop [closed]

I'm trying to show profile fields with checkboxes and drop-downs in the members directory loop. Example: Next to each member in the directory I want to show the Gender they selected This code works ...
0
votes
1answer
954 views

Search URL parameters query [duplicate]

Possible Duplicate: Custom search form with empty parameters Hopefully this is a quick one, but I've hit a wall here. I have multiple search terms, keyword, category, country and date. ...
0
votes
1answer
41 views

Pull certain Wordpress posts on custom CMS instead and 301 wordpress to it?

Say a site has its main custom CMS on www. and a wordpress blog on blog. Up to now some really good reviews have been posted over years on blog. but believe now they would be best served on www. Is ...
0
votes
2answers
414 views

How can I allow users (subscribers) to download selected posts into a single PDF? (RESOLVED)

I currently have a members area for subscribers. I have already setup the ability for users to 'favourite' posts and add them to custom folders of their choice. Once they have added some posts to a ...
0
votes
1answer
396 views

How to integrate video slide using custom post types?

currently i know how to make a jquery slider and pull images by get thumbnail . But is there any way to make a option (using custom post types/custom fields/meta boxes) to get a video by id and show ...
3
votes
1answer
88 views

Multisite, turn off “create new site”

If someone enters the wrong URL to my wordpress multisite, they get the option to create another site in the network. Why does this happen, and how do I turn it off?
1
vote
1answer
131 views

Users can only view their content from the front end

There was a great answer to how users can manage their posts only from the back-end. What I am wondering, is how to allow users to only see their posts, pages, etc, which have their user id attached ...
-1
votes
1answer
78 views

Change the behaviour of archive cpt category and single cpt by plugin, not by theme

I need to know: I have wrote at 60% one plugin, it works well in backend (some settings, some cpt, some custom fields... nothing special). It uses custom post type with custom fields. For now I need ...
1
vote
1answer
149 views

problem in uploading attachment to custom directory

i have been trying to upload the attachments to the custom directory without affecting the old uploads. so i use this bellow code to achieve that add_filter('wp_handle_upload_prefilter', ...
2
votes
2answers
294 views

Remove Author Slug & Replace With Username

I reviewed all related questions but none tackle this exactly so I'm posting the question in hopes the pro's know how to handle this. I would like to change the author slug to remove the term /author/ ...
0
votes
1answer
686 views

add button to post edit page when post_status=publish

Question what hook can be used to add a custom button to the 'Publish' metabox on the 'Edit Post' admin page? Use case I have a hand-rolled custom post type called ash_newsletter. I want to add a ...
5
votes
2answers
297 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
0
votes
1answer
456 views

problem saving/ retrieving custom meta with wp alchemy metabox

I am using WPalchemy metabox class to add a extra meta field to the pages editor which will allow me to attach galleries to pages. I use the class: $gallery_metabox = new WPAlchemy_MetaBox(array( ...
1
vote
1answer
261 views

create custom page for statistical data capture and reporting

I am not too comfortable coding in PHP yet, but am currently working on a project where I need to create a custom page for the website, in a member area, where the members of the site can capture ...
1
vote
2answers
447 views

How to produce a sub-page-system in Wordpress

I am currently new to Wordpress development and I am developing a custom theme with a few custom post types and custom functionality. For the most part, it was pretty easy to find the information I ...
0
votes
2answers
669 views

Multiple menu items highlighted

I am using WordPress as the CMS for my website. For my navigation menu, I am using WordPress' inbuilt navigation menu function. You add categories, page, etc, to this and it generates a list with ...
1
vote
2answers
396 views

How to create and work with custom data / tables (i.e., for arbitrary data)?

Getting started on Wordpress just today. I noticed that Wordpress created tables in a mySql database (with name *.wrdp1) when I first set it up. These tables cover comments, posts, users, and some ...
1
vote
1answer
3k views

Customize the Wordpress Default Gallery Output

I want to customize the Wordpress default gallery so that it would format as something like this for each item: <dl class="gallery-item imgteaser"> <a rel="lightbox-cats" ...
1
vote
2answers
148 views

What is the advantage of using header-catname.php over is_category('catname');?

Let's say I have a category named as catname (the slug would be catname). I want the header styled differently when visitors open the category catname. The article on Ghacks explains how to create a ...
0
votes
1answer
357 views

Get multiple db prefix with $wpdb

I have installed wordpress with question2answer as a single signon. The database created by wordpress with wp_ prefix and question2answer prefix is qa_ Now wordpress tables doesnt required to define ...
0
votes
2answers
1k views

Create Unique ID for user

I have to create a membership site, but I need to give every user that registers a automatic ID number. For example, User 2 - has a code - pay-102 User 3 - has a code - pay-103 I did a forum ...
2
votes
2answers
106 views

I need to add a custom “cover” to every new post — plugin or custom setup?

I'm creating a site that's basically like an online book, and every post is a chapter. Each chapter gets a customized, specially designed "cover" page that can't really be designed in the Wordpress ...
1
vote
0answers
385 views

wp_nav_menu custom walker - child items

I have written a custom walker to integrate a jquery dropdown nav script into my wp template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the unordered list ...
2
votes
1answer
906 views

Integrating the Wordpress admin panel with a frontend theme

I am building a Wordpress membership site where I need to collect user generated content in form of: -posts -events -classified ads I am using three plugins to accomplish this. However I need to ...
1
vote
0answers
60 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 ...
0
votes
1answer
126 views

WP-eComerce Advance Meta Tag data in descending order [closed]

I am use WP-Ecommerce plugins for ecommerce support Now i am set custom meta like this and it will display in ascending order like this so i need to display it in descending order how can i do ...
-1
votes
3answers
398 views

How to hide post metadata from homepage and show only in post page?

could anyone please tell me how to hide post metadata from home page? I would like to have them displayed only in post page. This is my website http://studyor.comuf.com and the theme was made with ...
0
votes
1answer
231 views

Select posts that match multiple category names, must match all categories listed

I need to search for posts that belong to multiple categories, but they must match all categories listed, as in if I list category names 'japanese' and 'dessert' the matching posts need to be in both ...
7
votes
1answer
387 views

Custom Post Types, slug, archive and SEO plugins

I made a custom post type called "friends". I am able to correctly list my friends using this urls: http://mysite/friends/friend1/ http://mysite/friends/friend2/ http://mysite/friends/friend3/ ...
0
votes
1answer
99 views

How can I add a button to quicktags-toolbar?

I would like to add a button to this toolbar, right of "fullscreen": The button should add this: „“ If text is selected, it should get around the text, like this: „selected text“ How can I add ...
0
votes
3answers
216 views

Dynamic Sidebars based on page name

I would like to do a dynamic sidebar for my WordPress site, so it would pull in the correct Sidebar template based on the page title of the page. So if I had 10 sidebars all named like this: Sidebar ...
-1
votes
1answer
69 views

Looking for membership style plugin with edit option [closed]

I have had a search but not found what I'm looking for so far. I am looking for a plugin which will provide a functionality on a site for the following: Use wants to sign up to my site, goes ...
1
vote
1answer
669 views

which is the best way to customize nav-menu-template.php?

I have modified the function start_el in nav-menu-template.php substituting $item->ID with $item->title so that the html li elements in menu have a more readable class names. In detail, I have ...
0
votes
1answer
27 views

Multiple Wordpress Pages

Not sure how to approach this one. I have a wordpress page that uses a mysql query to grab info from a database based on the page title. I basically want to replicate that page to 50 or so ...
1
vote
0answers
738 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
votes
1answer
98 views

Is website for online game guides doable in WordPress? [closed]

It will almost work as blog but: Writers will work only with one kind of content "guide". They will write it in markup language with custom tags that will be replaced by presets. They will choose ...
1
vote
1answer
96 views

Block multiple categories from Blog

I found this code on this site by AshFrame which I added to my functions PHP file and works perfectly to stop one category being displayed on my blog (I have a custom menu so have the category ...
4
votes
1answer
179 views

Automatically Creating Posts for Popular Forum Topics or Products [closed]

I am integrating a Wordpress template with Buddypress (with bbPress included). I would like to automatically create a post for popular forum topics so that it will show in my main page. I am hoping ...
0
votes
2answers
2k views

adding a custom css class to post

essentially I need to be able to add a class to a post when it show in the list (say index.php) so when in the back end you can say oneCol, twoCol, threeCol and it will then output this within the ...
1
vote
2answers
74 views

Tag description doesn't show hyperlink

I have added HTML code into my TAG description box, but for some reason the output doesn't display the required results. I have even tried to add HREF tag manually into this box, but no hyperlinks ...
1
vote
1answer
260 views

Best way to customise wp_nav_menu [duplicate]

Possible Duplicate: Menu items description? Custom Walker for wp_nav_menu() I'm familiar with WordPress and using the WordPress menu system. But I'm looking for a way to add custom HTML to ...
0
votes
3answers
309 views

Selling Downloadable Products [closed]

I have a few questions that I've been trying to find the answer to for a few weeks to no avail. I am starting a business where I sell downloadable files I've created. They'll be in .zip format. Once I ...
0
votes
2answers
224 views

Function to check if custom page is used by page?

I have template-clientlist.php now I search on wordpress doc but can find a function on how to check if page used template-clientlist.php template-clientlist.php <?php /* Template Name: Page Of ...