Redirect to Page Variables

This topic contains 4 reply and 3 voices, and was last updated by Jamie 10 years, 5 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
June 8, 2014 at 5:02 pm 21604
Jamie Hello, I'm trying to create a 'share your post' page so that the users can share the post they have just created. I'm using this with woo commerce and at the moment I have them redirecting to the post page which takes them to the single product page. I would like to redirect them to a page that has social sharing icons they can click to share on the different networks. I have created a new page template with the relevant social sharing code in it but I need to know how to grab the URL for the newly created post. I printed all the available variables using the php get_defined_vars() but can't find any variable that holds the URL I need. Is there anything I can call/I'm missing to get the relevant URL for the newly created post? Thanks in advance.
June 9, 2014 at 12:13 pm 21614
Sekander Badsha Sekander Badsha

There’s no need to create any page. Just install a social sharing plugin. And configure that to show sharing icons on the single posts page.
That’s it!

June 10, 2014 at 5:14 am 21669
Jamie Jamie

Hello,

I want to be able to customise the promotion page for the sellers. There is already a social sharing plugin installed but this is not obvious and is for any one on the site to use. I would like to be able to customise the messages and have a custom promotion page. Having a dedicated page that highlights the promotion they can do is a common method for blogging/ecommerce.

I would like to have this as its own page instead of getting lost in the single post page social sharing.

thanks.

June 10, 2014 at 6:13 am 21673
Mahi Mahi

Hello jamie,

We have a plan for that. So sellers can put their own promotional banner on their own shop home page (sitename.com/store/storename).

If you have any more ideas about how we can improve this product please post your ideas here: https://bitbucket.org/wedevs/dokan/issues

Thank you.

June 10, 2014 at 6:25 am 21674
Jamie Jamie

Hi Mahi,

I’m not using dokan. I’m using product vendor from Matt Gates. I just need to know if WPUF provides the post id or the url of the newly created post to the page you redirect to?

Do you provide these variables?

thanks.

Viewing 4 Posts - 1 through 4 (of 4 total)