Skip to content
Advertisement

Tag: wordpress

How to redirect the user to detail page after saving a new pod item/record in Pods / WordPress?

After saving a new pod item, I want to redirect the user to the detail page of the newly created record. How can I achieve this? I tried using post_save hooks but it didn’t work. I used the following code: The pod item is created by a shortcode like this: Answer Try this: [pods name=”egitim” form=”1″ fields=”name, salon” label=”Kaydet” thank_you=”/egitim/X_ID_X/”]

WordPress localhost ftp

I have wordpress running on my localhost on mac Lion. Everytime I try to install or delete plugins it asks me for hostname, ftp username and ftp password. I configured my localhost to 127.0.0.1, but …

WordPress – post thumbnail in loop

So I’d like to add a thumbnail to my posts but I just can’t get it to work. And in my functions.php I’ve added – add_theme_support(‘post-thumbnails’); It gives me the option to post the thumbnail when I make a post, but it doesn’t show up. Answer What theme or parent theme are you using? I usually do something like this

WooCommerce return product object by id

I am creating a custom theme for woocommerce and I need to be able to create a mini product display. I am having problems finding documentation on the woocommerce api. I have a comma delimited list of product IDs that I need to iterate through and display a custom mini product display for each in sequence. Any help would be

wordpress wp_insert_user function

I am in the process of creating a custom registration form for WordPress. My problem is adding custom user meta. I believe the function wp_insert_user will only allow you to add the default fields within the WordPress user table. Here is my current test code: I have found the add_user_meta function, but this requires an ID to add the metadata.

Order details not displaying (WooCommerce)

I’m having a strange issue with a site I’m designing. I’m using the WooCommerce system up and running and am using the Wootique theme. I’ve edited a bit but nothing too major, mostly just colours. What’s happening is, when I go to buy something and checkout, I am able to enter my details but nothing appears under the YOUR ORDER

Advertisement