wordpress-plugin

trying to find the comment hook I need for wordpress?

hi all , I'm writing a wordpress plugin that will execute a certain function when a user submits a comment. The only issue is I'm using the hook "comment_post" which works but if that comment gets stopped by akismet I'm still logging that comment but now my numbers are off from what's on the actual site. Is there a comment_approved type ...

What is the Page exclude filter equivalent to "pre_get_posts" ?

I am trying to include an option page to exclude Pages from showing up in the front page. And the filter "pre_get_posts" works fine with Categories but not with Pages.What is the Page exclude filter equivalent to "pre_get_posts" ? ...

Wordpress Post # of #

I'm looking for an easy way to assign a post number to each post in wordpress and display it out of the total number of posts. A little info: There will be about 100 "posts", each on its own page I want users to click through each post, so start at post 1 and click "next post" to get to post 2 I want it to say post 4/100 at the top for...

Wordpress plugin help

Hello, On my wordpress site, I am hoping that I would be able to set up a page that only allows the users to access it if the member is logged in. I still need the link to be available in the navigation but for it to check if the user is signed in... I have been searching for about an hour and cannot really find anything that fits my ...

Wordpress SQL Select Multiple Meta Values / Meta Keys / Custom Fields

I am trying to modify a wordpress / MySQL function to display a little more information. I'm currently running the following query that selects the post, joins the 'postmeta' and gets the info where the meta_key = _liked function most_liked_posts($numberOf, $before, $after, $show_count) { global $wpdb; $request = "SELECT ID, p...

How can I make two "user" editable areas in Wordpress?

Hi all, is there a way to have two posting areas in Wordpress, for clients who can not go into any HTML? Basically the template has 3 columns. One is vertical nav, thats no prob. Second is like a "sidebar" but where the main post will go, a skinny column. Third is large, "main area" size, but will also be user editable content. Does that...

Sequential Order of Wordpress Hooks?

hello, can anybody help me. is there any documentation about sequential order of wordpress hook ? especially for action and filter in backend ? ...

How to upgrade self-hosted wordpress and installed plugins of live site to latest availalbe versions without facing any trouble?

I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and some plugins which i want to upgrade has been modified before to achieve something. http://is.gd/b5j9h How to upgrade Wordpress to latest without loosing anything, any post, comments? What precautions should i take? How should i take backup of al...

Wordpress : is it possible to connect $wpdb class into other database ?

the question is related to wordpress coding only. If it possible, the code solution is able to use inside a wordpress blog. $wpdb is only work with database that been declare in wp-config. So it possible to clone $wpdb then use the clone to access different database ? ...

Wordpress search results

I have created a searchfrom.php for wordpress but then it's giving me a false returns you can try the search yourself here Here is the code for my search form <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <input type="text" class="form-text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> <in...

how to add a meta tag to the page template from Wordpress plugin?

I want to add a meta tag like this one: <meta name="key" content="value" /> to some of the pages in Wordpress. I know, I can add this into my template and it will show up. But the thing is, I am not allowed to even touch the template. It's totally template independent. So, I have to add the meta tag only by doing something in my plu...

Internal linking in Wordpress...

If I have lots of pages... page_ids 1-100... how do I link between the two in the editor?? I guess I can use <a href="/index.php?page_id=x">Link</a> but that's not user friendly... I want to do something like <a href="<?= get_permalink(x); ?>">Link</a> but that doesn't work either... help please... is there a handy plugin... ...

NAVT WordPress Plugin - Just a quick question

Hi, I got this plugin and have created my list etc and it's appearing fine. However, I am wondering how I create a list under another list...like the second level part of the list? I'm trying to create a dropdown menu you see. In the admin, when I try and drag the item over, it will only let me put it in the first level, how do I get i...

Wordpress "Vote It Up" plugin help

I'm creating a dig like site with wordpress, TDO Mini forms and Vote it up where people who live in the city can log on, post their ideas of how to improve the city and have others vote. on the home page there are 2 columns. right is the TDO submit form. left are the "Most Wanted" items. the posts with the highest rating. I've found an...

What do you prefer ? Writing a Wordpress plugin or child theme ?

What think to be consider when you prefer coding a solution in form of child theme rather then in form of a plugin ? ...

How Do I Intercept Banner in WordPress?

My client wants me to make a plugin that intercepts the banner on a WordPress blog so that the existing one displays, but right beneath it, above the content and the sidebar, another banner appears. And he needs it such that it works in most themes and isn't theme-specific. I found I could use add_action('loop_start','interceptMe') to p...

Wordpress plugin for enhanced WYSIWYG image resizing?

Really, really trying to find a plugin that gives adds functionality to the image-resize functions in Wordpress's WYSIWYG editor. Something where the use of 'Gallery' is not mandatory – just an upload straight from the post editor. In a post, when an image is linked to from another site, there are less options – unlike when an image is...

How can you assign multiple Javascript functions to the upload_start_handler for WordPress's SWFUploader instance?

I've got 2 WordPress plugins (PhotoSmash and TwitPic-It) that need to hook into the SWFUploader for the Media Uploader in WordPress. SWFUpload has a setting "upload_start_handler" where you can specify a javascript function that will run immediately before the upload begins. The trouble is that I need to assign 2 different functions to...

Wordpress vulnerabilities test scanner

Do you know any stand-alone client or web tool (like grc) that could scan, find and report Wordpress vulnerabilities, plugins included? ...

Wordpress plugin Podpress player "Movie not loaded"

Has anyone used the Podpress plugin for Wordpress and have the player not show up in the postings? All the settings are correct and the file download links work correctly. I'm not sure if there is another step I am missing or what, any ideas? ...