Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
17 views

How to build shortcode for tabs

i made a tabbed widget to display recent post , comments, and popular posts, but now i want to take out tab function from this and make a shortcode of it, so i can add it to wp posts and use it there. ...
0
votes
1answer
13 views

can i limit a visitor to custom count page views then require login or payment

I was wondering if this plugin can use sessions to restrict visitors to a specific number of free views then require login and payment if they are not a member.for example if users are registered in ...
0
votes
0answers
34 views

Post not showing up sometimes on website

I have a weird problem. A particular post is not showing up on my website sometimes. So If I clear cache then it shows up. It is happening only to one particular post. I am not able to figure out what ...
0
votes
1answer
30 views

wordpress admin security

I scan my website using different tool but it shows no malicious script. But when i see in admin dashboard i see strange symbol square below body tag. i tried to check admin index file,root index ...
-3
votes
1answer
37 views

Is there any Reference of Wordpress hook and hacks? [closed]

I am searching for a website to have lots of Wordpress hacks and hooks. Some hooks like activating debug mode or etc. Can you give me lots of this futures ?
0
votes
1answer
1k views

Adding custom fields (post meta) before/during wp_insert_post()

Our code base has a ton of logic that executes as the post is inserted/created. However, some of that logic depends on custom post meta. The only way I know of to add post meta to a new post is like ...
0
votes
1answer
72 views

Trying to see if page is category or single and displaying title with appropriate heading tag

I'm using a custom theme from ThemeForest and I'm trying to get the custom post php to check and see if the post is on a category or single post. If it's on category, use <h2> for the title (for ...
0
votes
2answers
80 views

Wordpress Admin Login Custom Logo

I know this may not be possible.But just trying to know wordpress deeply. Is it possible to replace default admin login page with custom one?
0
votes
0answers
29 views

How to upload video using media uploader?

I have followed and learned how to upload image using wordpress uploader. But I did not find how to upload video. All I found is about image uploader.As jQuery('#upload_logo_button').click(function() ...
0
votes
2answers
2k views

Synchronizing Two WordPress Sites Content

I've googled a lot, and I do have found answers at WordPress SE and at stackoverflow.com. However, the answers are somewhat incomplete or doesn't work at all. Here I'll explain my problem in detail, ...
0
votes
1answer
33 views

Is there any way to give all users access to one blog in a multisite network without using a plugin?

I know there are various plugins out there to help with multisite user management, but we have a policy of avoiding plugins for a) overzealous security policies, and b) interfering with our already ...
0
votes
1answer
25 views

child_of not working while searching

I'm trying to limit search to a parent page and its own child pages. I've changed searchform.php adding this code: <input type="hidden" value="<?php global $post; $ancestors2 = ...
0
votes
0answers
142 views

Responsive theme 'undefined' on woocommerce single product pages in mobile nav bar

I am using the responsive theme for my mobile site and am using 'any mobile theme' plugin to implement that them whenever someone is on a mobile device. when I am on a woocommerce single product page ...
-1
votes
1answer
345 views

how woocommerce swatch color name when hovered or selected

I have the woocommerce plugin and the woocommerce swatches and photos extension that shows swatches instead of variations as a drop down. When hovering over the swatches and when a swatch is ...
0
votes
1answer
95 views

Want to modify a Plugin - Tweetily - Can I make it tweet a Custom Field instead of Post Title?

http://wordpress.org/extend/plugins/tweetily-tweet-wordpress-posts-automatically/ I was wondering if somehow it's possible to make it tweet a Custom Field instead of Post Title? in top-core.php, at ...
1
vote
1answer
2k views

How to get permalinks with category base working with sub-categories

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight... ...
3
votes
1answer
248 views

Hacking TinyMCE for better usability (shortcodes and html)

I'm looking for some theme or plugin examples that showcase ways in which to enhance the usability of editing shortcodes and/or custom html objects that have been inserted into the editor. I know ...
1
vote
1answer
197 views

How can I autopopulate titles in the media library?

I have hundreds of images in my media library, most have which have no titles. In the media library, the "(no title)" message is displayed along these images. Since I generally have one image per ...
1
vote
1answer
82 views

Delete all one-word comments

I'm trying to delete all wordpress comments with only one word. I found this mysql query to delete all comments at once, but that's not what I want to achieve: DELETE FROM wp_comments WHERE ...
-1
votes
2answers
774 views

Turning a WP Site Into an iPhone/iPad App [closed]

With the advent of responsive design, it's beginning to simply make sense that we could make a site into an app. The concept is simple: When the user is on the site, remove the browser around the ...
0
votes
1answer
69 views

Trying to get variables in hacked category dropdown

I've discovered a workaround to get wp_category_dropdown to display as a multiple select field. My code is as follows: <?php $sponsors = wp_dropdown_categories( array( 'child_of' => 0, ...
0
votes
1answer
108 views

security issue in wordpress?

I have installed wordpress in www.mysite.com/user and now suppose if someone is familiare with wordpress he/she can easily access my stuffs through www.mysite.com/user/members ...
1
vote
0answers
187 views

How to restore my wordpress site on your server? [closed]

Yesterday my wordpress site "http://planetofcoders.com", Hacked by someone Bangladeshi hacker. After that I did delete all site and database data. I have my site and database backup as on 09-Nov-2012. ...
1
vote
1answer
1k views

Hide submenu wordpress?

How to hide customize menu and another submenu on wordpress? I already hide some submenu on wordpress like function hiden() { remove_submenu_page( 'themes.php', 'widgets.php' );//widget ...
4
votes
3answers
1k views

Posts in multiple Categories different single.php

I am smashing my head against some code. Here is the situation: I have one post in 3 different categories, this post has to be visible in "category 1" with the single1.php, in "category 2" with ...
1
vote
2answers
2k views

Add Download Button in prettyPhoto Plugin

I would like to add a download button link for the full-sized image on the prettyPhoto lightbox when a user views a photo on my site. Currently I use the prettyPhoto Media plugin on my site, and I ...
0
votes
1answer
37 views

why the posts queried from sql is more than those showed on the page?

i am using WordPress multisite, the issue i face is that the posts queried from sql is more than those showed on the page, the details is as follows: mysql> select count(*) from wp_137_posts where ...
3
votes
2answers
204 views

Brute force attack?

I'm seeing this quite often: No OS, same Browser, weird hostname -- they're definitely not real users. Can I do anything to take precautions before they do something? Thanks!
0
votes
1answer
151 views

Custom row action on custom posts list page causes a wp_die?

The scenario is this: I have a CPT called Job. I've set custom row actions for this CPT, and most of them are linked to external or custom settings pages. They work fine. Now I've set a new row ...
1
vote
1answer
134 views

API for wp menu hacks

Question changed due to new developments! I was loooking for a way to hack the menu items in the custom menu page to add a "hide" checkbox and other options. The only way I found is to override the ...
3
votes
1answer
296 views

Explanation of this hacked code

Hi I found some new code in the wp-config.php file of one of my sites, it seems to have been placed there by a hacker, anyone can explain what it does? http://pastebin.com/fdMJCAXw
0
votes
1answer
159 views

WordPress Phone Verification

Is there a way to check verified members phone numbers by sending code to their mobile phones just like Facebook does? This would be very handy to stop spammers and allows only one user per phone ...
1
vote
1answer
960 views

how to remove mandatory required fields in buddypress registration [closed]

i have installed buddypress 1.5.1, wp 3.2.1. the registration field shows 5 mandatory fields to be filled, i need to limit this to 3, my site needs username, email, password( just like in tumblr ), ...
0
votes
1answer
398 views

how to create a sub section in posts

i need to create multiple section in my post. for eg: i have a wordpress post called football with the perma: http://mysite.com/football football contains sub section like ...
0
votes
2answers
1k views

how to activate a plugin inside a theme

Iam trying to activate a plugin which is inside my theme template directory, ie : i have a folder called plugin inside my current theme, which has some plugins how can i activate those plugins from ...
0
votes
1answer
96 views

How to update custom field of a posts in a particular category

I have a lot of posts under category 'tution', which has custom field called 'video'. i need to update the 'video' value with same youtubeurl i.e all post would have the same value in the custom field ...
1
vote
2answers
303 views

Common single page template options

I am developing a common theme for 25 websites, the default requirements are done. Each site has got different single post template. I need to group it as a single theme so i don't need to hard-code ...
4
votes
2answers
157 views

How would I compare and remove hacks to core?

I have been put in charge of a site that have a lot (and i mean it) of core hacks, some are pretty easy, some are really hard to spot (like removing a do_action on the_content. So, my question is , ...
-1
votes
3answers
882 views

Wordpress Hacks/Defacing [closed]

Im trying to figure out how Wordpress sites become defaced/hacked. I know development very well. I know how to secure code, etc. But I am finding recently, that tons of Wordpress sites are becoming ...
0
votes
2answers
486 views

Can't Find a “Most Popular Tags” Hack Anywhere [closed]

If anybody knows where to find a most popular tags hack, I would be forever grateful. I've searched and searched to no avail.
1
vote
1answer
237 views

Change the 'published on' text?

I am using the date and time in the post dialogue to log the date and time of future events, and would like to change the text to reflect that. Is there an action hook I can tap into to achieve that? ...
1
vote
1answer
319 views

Using Fullscreenr with a wordpress blog - weird bug

I'm wondering if anyone here has used the jquery plugin 'fullscreenr' with a wordpress theme before. I've noticed a weird bug that I'm sure anyone who has used this before for a wordpress build would ...
1
vote
1answer
92 views

Why was my blog post inserted lot's of ad links by others?

I found that my blog posts are inserted lot's of ad links, I'm using WordPress 2.9.2, is there a known security vulnerability in it? A screenshot : I post some codes on my blog, the ad links are ...
1
vote
1answer
368 views

How to get “Widget Logic” plugin's input value in a custom widget code (to display on the Widget admin page)

I've got the "Widget Logic" plugin installed. I have created my own widget called "Buzz". I have a sidebar with multiple instances of my custom widget "Buzz". Now, on the Widgets admin page when a ...
5
votes
3answers
4k views

Add class to before_widget from within a custom widget

I have a simple custom widget that asks for its width (that is used later in the front end). The width field is a select dropdown, so a user have predefined options. I will have many instances of my ...
1
vote
2answers
181 views

How do I specify more than one category?

I am excluding comments from specific categories. However, when I try to exclude more than one, it doesn't work. This works: <?php if (!in_category('7')) comments_template(); ?> This does not ...
0
votes
2answers
2k views

Intercept comment form submit/list by hook/filter

I am writing a media plugin that uses custom tables to store its contents. (eg not the post tables where wordpress stores it attachment data). Now i'm looking for a way to use the default wordpress ...
0
votes
2answers
4k views

How to generate/update a XML sitemap without plugins?

I like to hardcode everything on my WordPress websites, without using any plugins. Is there any way to generate or update my sitemap everytime I publish/update a post on one of my Multisite blogs, ...
0
votes
2answers
1k views

How can I assign post a specific ID on creation?

I'm migrating content from an existing site into wordpress. The old site has cross links that I'd like to maintain in the new site. I can convert the old links to wordpress format links (based on ...