playbasfa
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontend Admin by DynamiApps] How to fill a field based on the origin urlMmm I’m not sure about your question to be honest. I am not used to use Post Object and Relationship, so I don’t know if they can be helpful.
But maybe I can be more detailed so that you can have a better visibility about the request.I have a taxonomy called ‘Restaurant’ and every time I publish a new dish (dish is my CPT) i select which taxonomy term (which restaurant) I want to associate to that specific dish.
Now, I want the button ‘add a dish’ to be placed in the archive pages of the taxonomy terms of Restaurant taxonomy.As an example, I have the Restaurant ‘Uncle Joe’
So, if I go to ‘mywebsite/uncle_joe’, I land on an archive page where I show all the dishes associated to that tax term (that means dishes sold in that restaurant) AND the button ‘add a dish’.Important: Every dish must have a mandatory ACF that is called “name of the restaurant”.
By clicking on the button “Add a dish” what I would like is one of these 2 options:
1) Your form appear on a modal popup (Display option: modal) but the ACF “name of the restaurant” is already filled (and maybe even hidden in the front end from the visitor) retrieving the data somehow for the fact of being on the archive page of the taxonomy
or
2) Same as point above, the your widget is in a different page and I land in the page clicking on the ‘add a dish’ of aboveI was thinking to the ‘Dynamic’ feature that I always see in other widget, which allows to get dynamically values from the page where it is used.
These archive page can have also some ACF associated, so I could store the name of the restaurant in a Custom Field, and use it in your widget through Dynamic feature maybe
Hope I have been clear and more helpful than before with this 🙂Forum: Plugins
In reply to: [Frontend Admin by DynamiApps] Problem on URI when publishing right awayIn my opinion, but I’m not a developer, the thing is that permalink manager already manage perfectly the change of the of the permalink itself for any kind of permalink and everything is already setup in the permalink setting.
If I create a post from the wordpress back-end as you can see from the picture here “the current URI” is empty and when I publish the post the default setting is gonna take over.
But when I create the custom post type with your plugin, somehow automatically the current URI is http://www.mywebsite.com/myCPT_slug/interested_item so I have to enter from the backend in order to make permalink start working.
Maybe permalink has an hook that you can use when submitting the post?