Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

edtiley on "Same Nonce Value Over And Over Again?"

Simple code: $starnonce = wp_create_nonce( 'star_nonce'); I'm passing the nonce from a form, for verification. Why would I get the same value over and over again from WP, even after a reboot? TIA, Ed

View Article



almightymax on "cant understand how to rewrite url"

Hey guys, I had read a lot of articles, guides & tips and still cant understand how to rewrite rule. Here is what i got: my url: http://localhost/wordpress/?navopt=main my code in functions.php: /*...

View Article

Nickvdp on "issues with custom post type with custom taxonomy hierarchy"

Hi all, I am trying to set up my WP install with the custom post type 'dm_tool' and hierarchical custom taxonomy 'tool_type'. What I am trying to achieve is the following: domain.com/tools showing the...

View Article

krzysiekkcn on "Modyfing wordpress searcher"

Hi!, I would like to modify my search results on my blog. In pages section I have templates like: smaller, fullwidth and show. In side them I have some content. In smaller and fullwidth templates I...

View Article

sitebizniz on "Image Manipulation on Upload"

I have a function that manipulates images and I would like to incorporate it into my Wordpress sites such that every image that is uploaded is first processed by this .php function. Where is the best...

View Article


Luismin on "Posts Checklist"

Hi! I am working in a WordPress backend design and I would like to know if is there any function like wp_categories_checklist for posts. I have an issue here in order to find a multiple selection of my...

View Article

johncastlegate on "How to remove "Add Media" button in WP 3.5?"

In previous versions of WordPress, I could remove the media upload button with something like: function z_remove_media_controls($context) { return; } add_action('media_buttons_context',...

View Article

eckul on "executing a mysql query on publishing of post"

Hi I would like to post some data to a db when certain categories are selected in a WP post. I would like this to action when the post is made. This is the query I wan to run: mysqli_query($con,"UPDATE...

View Article


Javier.Promonet on "Change permalink for one category only"

Hello We want to change permalinks for all site. But we want to do it progressively. How can i change permalink only for one category? Now our permalinks are domain.com/%category%/%postname// and the...

View Article


hawkeye126 on "Add widget to Admin widget area by default"

I have a plugin that creates a widget and widget area. Currently when the plugin is activated it adds the widget area as the first widget area and it adds the widgets in with the rest of the available...

View Article

brave.pineapple on "URL as shortcode parameter"

Is it possible to make URL address a shortcode parameter? let's say I have a shortcode [shops city="<--here goes parameter from URL"] Regards

View Article

Arun Kumar on "Contact form with file upload problem"

Hi Friends.., Here i paste my simple contact form code with form validation function... now i just add file uploading option in my form... but i don't know ... how to write the function for that option...

View Article

artheme on "How to check non registered user and display specified content"

Hello, I am new to wordpress and find a problem when trying to display some part of a post/ page to non registered users only and hide it for all registered/ logged in users. I get a fatal error...

View Article


kettlewell on "Add/Edit Posts Through Ajax?"

I'm looking to create a plugin that when a link is clicked (with a PostID), it will open the screen ala Ajax style to create ( or edit an existing ) post. And upon clicking publish / schedule, it will...

View Article

TimG1 on "How do I pass arguments using add_action() to an existing action?"

Hello everyone, Instead of doing something like this... function remove_taxonomy_boxes() { remove_meta_box('categorydiv', 'post', 'side'); } add_action( 'admin_menu' , 'remove_taxonomy_boxes' ); Is it...

View Article


Cory on "Redirect after front-end post form not working"

I'm having what I believe to be a redirect issue. On our site, I've used the Types plugin to create a custom post type called "Conversations" connected with a custom taxonomy: "Topics." I want to allow...

View Article

DylanR on "Displaying post content in a widget"

Hi all, I'm currently building a custom widget similar to the WP_Recent_Posts and I'm wondering if there's a way to return the content of a post in the widget area? I can figure out how to get the...

View Article


mtucker on "How To Display Price and Product Name On Rollovers from Woocommerce"

Hello, I am looking to create an image hover that displays information that is stored from WooCommerce (like price and product name). Here is an example of exactly what I am looking for:...

View Article

Luismin on "Order posts by custom post type in dropdown field"

Hi commnunity! In my WordPress backend I have some custom posts and, in one of them, I want to display in a dropdown field some posts related with but ordered by post type. I want to display something...

View Article

codingnonstop on "Social Sharing Toolkit inside the loop"

Hello! I'm using social sharing toolkit inside my loop like this: <?php $social_sharing_toolkit = new MR_Social_Sharing_Toolkit(); echo $social_sharing_toolkit->create_bookmarks(get_permalink(...

View Article
Browsing all 8245 articles
Browse latest View live




Latest Images