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 - 1,216 through 1,230 (of 1,554 total)
Problem: I have a View of parent posts. I would like to show the number of child posts for each parent post inside this View.
Solution:
1. Create a View to children posts. Choose the child post type in Content Selection and add a filter by post relationship. Choose “Select posts that are a children of the Post set by parent View.”
2. Then use the [wpv-items-count] shortcode inside of the output section to count items and display the result.
3. Now you must insert the children View inside of the parent view Loop Output editor. Make sure you place the View outside of the tags, or it will be repeated.
Problem: I would like to set a consistent background color for my Custom Posts. I currently use Avada and have a Content Template for my CPTs. I have set a background color in Theme Options, but some of my CPTs show with a different background color, defined in the post. I would like to override that setting without needing to update all of my posts manually.
Solution: Use CSS and specificity to create a single style. In this case, the following code can be added to Appearance > Customize > Additional CSS or Avada > Theme Options: