Layouts plugin allows you to design and customize the front-end display of your website. You can design entire pages, including header, footer, menus, content and all other elements.
When you ask for help or report issues, make sure to tell us the design that you want to achieve and the layouts that you have created so far.
Viewing 15 topics - 241 through 255 (of 302 total)
Problem:
Client has a front-end form which uses cred_show_group to conditionally display a group of fields depending on the value of another field, and would like the same on the backend post edit screen.
Solution:
Individual Types fields can be conditionally displayed on post edit screens (which is also inherited in frontend Forms) based upon the value of another field. To conditionally display a group of fields simply apply the same rule to each of the fields.
Problem:
How to create a front-end Form for user's to edit posts?
Solution:
The Form itself is very much like a form to publish posts, and if you already have a form to publish posts you could duplicate it, then edit it and change the first setting that specifies it is to edit content.
The difference between post and edit forms is in how they are displayed.
The post forms can be inserted directly onto a page.
Edit forms need to be "hosted" inside a template, and then that template linked to.
If you are using Layouts, that would be a Template Layout (unassigned to any post type), and if you are not using Layouts, then that would be a Content Template (also unassigned to any post type).
Problem: I am using a Bootstrap Grid to display some information. I have applied col-sm-9 and col-xs-12 classes to one grid item, but at mobile sizes it's not expanding to fill the width of the container. It's still at 9 columns width.
Solution: Check the CSS applied by the theme and other plugins. In this case, a media query is used to set the width of col-sm-9, but not col-xs-12. The means the col-sm-9 class is more specific than col-xs-12, breaking the grid code. Override that or remove the media query from col-sm-9.
Problem: The line breaks added in my WYSIWYG field are not shown on the front-end of my site.
Solution: We are aware of an issue with automatic paragraphs in certain WYSIWYG field circumstances, and we're working to resolve that. Until that time, you can use the wpv-autop tag along with output='raw', like this:
Problem: I have created a Layout that I want to apply to a custom post type. I am translating posts with Polylang, and I would like to show translated posts with a different Layout.
Solution: Instead of using different Layouts, use Polylang's string translation functions to translate specific content in the Layout.