0
votes
1answer
310 views

Specific plugin for custom user information access? [closed]

I've been looking for a while now, but I couldn't find anything near to what I need. Maybe I'm not using the right keywords, that's why I'm asking it here. I need a plugin where the administrator is ...
0
votes
1answer
1k views

WordPress karma theme shortcodes not working

I have uploaded karma theme and, but due to some reason, images using timthumb are not displaying. My WordPress url is http://wordpressforpi.com/test/ in this page, second image does not shows up, if ...
0
votes
1answer
342 views

Custom Meta Box with variable number of fields

Here is what I wanna do and I basically would just like some ideas from someone more experienced that would help to get started in the right direction. I have a custom post type (Exams) that has is ...
2
votes
2answers
137 views

How could a Widget behave differently depending on sidebar

if sitting on sidebar-1, I need my widget to behave differently than if it were on sidebar-2. How can i detect the sidebar it is sitting on from within the widget() function? The widget contains a ...
1
vote
1answer
441 views

Google Map Latitude and Longitude values in form

I have a front end submit form and would like to include a two extra custom fields which will hold Latitude and Longitude values. I want the users to select the location on a map which will be ...
2
votes
2answers
824 views

Add .html extension to only one page in my Wordpress site

We had an old site that had html pages in it. One of the pages in that site was linked to from many other sites. Now we moved to a WordPress site, and we created a page with that name, but of course ...
1
vote
1answer
856 views

Generate PDF using tcpdf from WordPress admin side custom page [closed]

I'm generating PDF using tcpdf library in WordPress admin side. but getting the following error. TCPDF ERROR: Some data has already been output to browser, can't send PDF file It has header_sent() is ...
0
votes
4answers
351 views

Can custom taxonomies items have attached properties?

Let's say for (a classic) example that I want to create an event custom post type, which will have assigned some specific fields/properties. One of them: location venue. Location venue, which I'm ...
3
votes
2answers
154 views

Syntax Highlighter XML striping

I am really frustrated with availible Syntax Highlighter's on the market it seems that no matter which one I use, after pressing "Save Draft" or "Publish" and after I change from Visual to Html or ...
0
votes
1answer
88 views

My post does not show up

I'm facing a WordPress strange behavior. One of my posts is not showing up. If I open post editor I can find the post full text and in my home page I can see an excerpt of this post. Does anybody have ...
1
vote
2answers
490 views

Category List With Comma & Link

Trying to list the categories for post separated by a comma with link to the category archive. <?php foreach((get_the_category()) as $category) { ...
0
votes
1answer
2k views

Archive limit the text of the_content

here's the code for my archive page.. <?php /* Template Name: Archive Page */ ?> <?php get_header(); ?> <div id ="maincontent"class = "group"> <?php ...
0
votes
1answer
172 views

How can I allow users to edit text that will be displayed on a custom post type archive page?

I like the custom post types Wordpress offers. Most of the time I like the way that the archive of custom posts is displayed. For example if you have a custom post type of top_hats you can visit ...
0
votes
1answer
665 views

Enqueue script on every page except one

I want to load my javascript and exclude 1 page, so I tried the following without success: function mypage_scripts() { if ( !is_admin() ) { wp_deregister_script('jquery'); ...
0
votes
1answer
394 views

How can I do a variable for meta_query?

I have a code which needs a variable compare string array( 'key' => 'rob_value', 'value' => $rob, 'compare' => '=' ) the compare =>'=' needs to be ...
0
votes
1answer
173 views

Multiple loops breaking side bar

Trying to put a bunch of loops in the side bar using WP_query. <div id="FL-pest-libray-sidebar"> <?php $category_query_string = new WP_Query(array( 'post_type' => 'page' , ...
2
votes
2answers
2k views

delete post also attachments

I am trying to delete a post with its all attachments. This is the function that i came up with right now; function remove_post(){ if(isset($_POST['post_id']) && ...
1
vote
2answers
438 views

Create a short code to display a specific loop

I'm breaking my head trying to create a short code to display certain loop, however I'm totally cut, I can not figure it out how to do it, since it's the first time I try to do it... I do now want to ...
0
votes
1answer
325 views

Changing the Permalink Structure without Resetting the Facebook Like Counts?

When changing the permalink structure of a blog, Facebook and Twitter will treat the articles with new URLs as brand new articles and will reset that Tweet/Like counters. Is there a way to resolve ...
0
votes
2answers
2k views

I am extending Walker_Nav_Menu: How can I get the number of children elements of the current item?

I am trying to extend the Walker_Nav_Menu walker to make some changes to the way WP outputs menus. The method I have to override is start_el, so I created my Walker and copied the base method: ...
1
vote
2answers
908 views

User registration approval based on role selected

On my site I've got two types of users, Subscribers and Partners. I've used Cimy User Extra Fields to add additional fields to the registration form. I've also used a plugin called WP Roles at ...
0
votes
1answer
96 views

How To Display Pages Based On Subscriber Signup Date

I want to get a course rolling where I show a new link for a weekly lesson to a subscriber, based on how many weeks the subscriber has been registered. Say, the subscriber goes to the course page ...
0
votes
1answer
773 views

Group posts by date with a list

I want to set a group of posts grouped by date as a list. Below is what I would like to have: Day... <ul> <li><a href="#">Lorem ipsum</a></li> </ul> Previous ...
0
votes
2answers
2k views

Dynamically textarea with TinyMce editor

I need to used TextArea with Wysiwyg editor. That works when textarea is write on page ( Not dynamic , static ).. but my problem is for dynamically textarea. My code : add_action('admin_head', ...
-1
votes
1answer
365 views

Walker Class : extract function and wp_list_pages

I'm just analyzing my custom Walker Class because it frequently skips over some post_meta data that I append to the $output HTML. Even though the Custom Fields are set, they are ignored by the ...
3
votes
2answers
375 views

Using MIT Licensed niftyPlayer in a WordPress Hosted Plugin (Premium and Free versions)

Apologies in advance if I meander in this question, I am trying to grasp my brain around the different licensing models and yes, I know most of you are not lawyers. I am developing a WordPress Plugin ...
0
votes
1answer
321 views

Defining 'last' class on foreach blog posts

I'm using the following code to display the latest 3 blog posts on my front page but I need to add a last class to the 3rd post on the ID blog. <?php $args = array( 'numberposts' => 3 ); ...
0
votes
1answer
349 views

How to get user id which is done by buddypress [closed]

I have integrated buddypress in my wordpress theme. i need to get user id when buddypress completes user registration successfully like what we usually do wp_insert_user( $userdata ) which returns ...
0
votes
1answer
110 views

WordPress strips some attributes for author posts

I added template to my WP posts, so when you click Add New content area alreday with text. Template smt. like this <div id="myDiv"><p>Add your text here</p></div> If user ...
0
votes
1answer
618 views

Yelp-style geographic directory plugin?

The project I'm working on discusses local farming/agriculture/etc. initiatives and I'm ultimately wanting to create a directory with the following features: Separation between: Urban farms ...
2
votes
1answer
383 views

WP Config for FTP credentials

Is there a config in WP that allows you to store your FTP credentials? I'm using the Linux webserver at work to develop and it's really annoying to have to but the credentials in every time I ...
2
votes
1answer
1k views

save_post + insert_post = infinite loop

I'm trying to automatically create a new post when a post containing a certain custom field is saved - hooking an insert_post function into save_post. This generates an infinite loop. I found some ...
0
votes
1answer
158 views

RSS Subscriber count

I'm looking to retrieve an RSS Subscription count. How do I return the number of subscribers without use of Feedburner or use of a plugin?
1
vote
1answer
975 views

How to extend a class in WordPress?

I am ussing bbPress and want to extend the BBP_Shortcodes class in order to replace a function with my own. Here is my basic snippet which seems to do nothing: class WPTUMBLE_Shortcodes extends ...
-1
votes
1answer
484 views

Cart shortcode is not working in cart66 WordPress plugin

I have installed cart66 plugin in my WordPress site and created one demo cart66 post. When I click on the 'add to cart' button I get redirected to the cart page, which is blank. So I guess the ...
0
votes
4answers
112 views

Create a slug for a page in WordPress

How can I create a slug for a page in WordPress? I see that there are custom formats available, but I would like to be able to specify things like: mydomain.com/about mydomain.com/home ...
0
votes
2answers
618 views

Add custom read more to the_excerpt and <--more-->

My today's question is... is there any way to auto add an custom (whatever I want) Read more... each time I use the_excerpt or get_the_excerpt function??? Thanks in advance
0
votes
1answer
440 views

Using custom post type as front home page pagination not working

I've searched for days for a solution, scouring the interwebs, including, of course, stackoverflow. I'm using a custom post type as a static home page, but the pagination will not work. When I ...
2
votes
1answer
240 views

Multipart/formatted MySQL query problem

I'm creating a plugin and I want to automate the creation of a MySQL Trigger on a table. The problem seems to be that $wpdb->query doesn't appear to accept either multipart statements and/or formatted ...
0
votes
1answer
174 views

Source problem for children page image

I have this problem and maybe you can help me. I want to get a list of all children pages from page (with id 20) and then get the featured image from each one and resize with Thumbnail. Right now I ...
0
votes
1answer
142 views

Dynamic Sidebar and XHTML Validity?

My question is concerning dynamic sidebars and wrapping the dynamic sidebar code in the <ul> tag. When I have widgets/dynamic sidebar enabled do not add widgets to the sidebar, and do not wrap ...
0
votes
1answer
254 views

Open Graph in Index Loop

I have an index of posts where I'm wanting to insert a Facebook Like button for each post. Thus far, I've set all Open Graph data in the head for single posts. Any ideas on using the open graph data ...
0
votes
1answer
169 views

Search results highlight breaks my read more link

I am attempting to add highlighting to my search results in the theme that I am coding. I found the way to do it on this thread: How to highlight search terms without plugin and it worked ...
0
votes
1answer
631 views

How to add categories to page editor?

I'm trying to add the categories selector to the "page" editor workspace. The code below does the trick, however, none of the values are saved with the page. Any help much appreciated! ...
1
vote
1answer
727 views

Custom Query num_rows returns wrong amount

So I have a custom query that fetches all posts in a given category. I am trying to get the number of rows returned but it is giving me the wrong number. Instead of 11, I am getting 14. Does anyone ...
0
votes
2answers
913 views

jQuery UI styles conflicting with TinyMCE dialog

I'm using jQuery UI for a few custom controls on the page edit screen and I've noticed that the styling of the jQuery UI dialogs are conflicting with the TinyMCE dialog. Specifically the buttons and ...
1
vote
1answer
151 views

How to import content from WordPress.com to a self hosted WordPress installation?

On behalf of another, I'm trying to import content from a WordPress.com hosted site to a self-hosted installation of WordPress.com I've exported the XML file and imported it into the new site, but it ...
0
votes
2answers
596 views

Post per page not working if no category specified

I'm going crazy... <?php query_posts(array('cat' => 3, 'posts_per_page' => 1)); ?> This shows 1 post (there is two in the category) >> OK <?php query_posts(array('posts_per_page' ...
0
votes
2answers
135 views

Resources for a complete beginner to learn to work professionally with Wordpress

I have a friend who is interested in starting a side business where she would freelance websites. I have recommended for her Wordpress as probably the best choice where she could most quickly start ...
2
votes
1answer
256 views

Add user capability and check against it

I just realized the following: // Call the current user info global $current_user; // Add a capability // and set the 2nd argument ($grant) to false $current_user->add_cap( 'some_cap', false ); ...

15 30 50 per page