Wordpress Plugins - MultiPage Architecture [closed] - wordpress

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed last year.
Improve this question
I'm a long-time web developer, but a wordpress newbie :) and trying to reason about WP architecture for multipage plugins.
For a project of mine I wish to create a wordpress plugin, which runs on multiple number of pages, each with a different view, based on the specific route.
for example, my project is a remote-events app, with different views in every step of the event registration process - events catalog; event page (with more details); event registration; checkout and payment.
I don't expect my users to create multiple pages, embed different shortcodes per views and wire the proper routes. A single-click plugin installation should do it for them.
does anyone has experience or know of an example of this kind of plugin model?
Thanks!

The catalog and single page are the natural pages created for each new post type.
https://wordpress.org/support/article/post-types/#custom-post-types
If you create a new post type, let's say "Events", you can get a new archive page that shows the list of Event posts and you will be able to have inner views for all the events. It is possible to create default templates for this type of page:
https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-post-types
For other pages, I think that you can do the same way as Woocommerce did - they have the shortcodes placed on the specific page like Checkout or shopping Cart, but those pages are auto-created.
This will allow users to wrap your Checkout content with some CTAs, banners, or other content without touching the actual template - some flexibility with Single-click installation.

Related

Gravity form ajax not working

I am using wordpress with woocommerce and I want to list products based on the answers by customers. I am using gravity form for question and answers. One question should be appear at a time. When we go for next question by clicking next, the page is reloading, but I want it should be in ajax.
Here is the shortcode am using,
[gravityform id="1" title="false" description="false" ajax="true"]
The ajax is not working. Any Help appreciated.

Wordpress questionnaire and open ended answer

I'm looking for a wordpress plugin that simply lets me ask the user a question and have a text box that lets them enter an answer as they please. I've looked at many questionnaire plugins but they all seem to have just the option to answer the question from a selection of sample answers. i.e checkboxes with answer a, b or c etc.
You can use any form builder plugin. Not only questionnaire plugins. Unless there is a reason that you cannot and we cannot understand without more content on your question.
Ninja forms
Gravity Forms
Formidable Forms
Are only some of them. Create a new Form. Add a paragraph element for your Question and a textarea for the answer.
Then you can use a shortcode to load it on the page and check the answers on the submitted entries on the backend.

Drupal 7 set specific content type on home page [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to a set specific content type on front page on drupal 7 Only just one content type not all through Programmatically
You need to go to /admin/structure/types in your site and configure the content type default settings one by one, unchecking the promote to frontpage setting by default in the non-desired content types.
Also, you can set role-specific permissions in /admin/people/permissions so that an specific role (like site admin can send any given node to the home page, on a per-node basis, even if it is a node type that is not normally making its way to <front>.
you can set the front page to a specific node/path at admin/config/system/site-information
If you want a list of specific content types, created a views page and set the front page to the path of this view at the admin page I mention above.

WordPress published posts and revisions + custom post types [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I stumbled up on one problem with revisions that I have to use for on website im building in wordpress.
So, it goes something like this. I installed Capability Manager plugin so I was able to make a new role account and set the permissions for that role. After that I installed Revisionary. What I basically did is that I copied Contributor role and removed some things. So new account now can edit only their own post. When the post is edited revisionary (the plugin) enables only "send to a revision" option, so the user cant publish it. The thing is even if the post is new or was already published, every change needs a revision and I managed to do that. After that I installed the plugin called "Manage your posts only". I need that one so a new user who can add new posts is unable to see other posts that he is not author of.
BUT I have a small problem. The revisionary plugin doesnt work with custom post types, fields etc. (Woothemes theme in this particular situation). So only thing that can be changed is a post text and title, everything else below the post, custom fields and so on are ignored by revisionary. I need your help guys and your opinions what would be the best solution for this problem.
i did a little searching around and found this - it seems the original plugin hasn't developed support for custom post types but this exta plugin adds that support
http://wordpress.org/extend/plugins/custom-field-revisions/

Wordpress magazine [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to create a magazine publication in Wordpress. One issue contains cover + articles. No comments or anything fancy needed. The cover has the index of articles and each article has a content and a picture and description of the author. The author doesn't need to be a real user, it can be just a block with a picture and a description.
I know how to do this in Drupal, I would create content types with specific fields for each type and prepare the templates accordingly. I would setup menus to reflect hierarchy. To show the authors section below the article I would use custom picture fields and text.
So adding and issue would be as simple as creating a page-cover and page-articles, and setting menus accordingly.
How can I accomplish this in Wordpress?
This is roughly the solution I found:
Create "Article" post type. Add all the necessary fields.
Create a "Cover" post type. Add all the necessary fields.
Create an "issue" taxonomy term. All articles belonging to the same volume will be linked through this term. There's one cover per issue.
Also, install the Co-Author plugin (in case there's more than one author per page).

Resources