I’m afraid this is the problem:
Wrong:
<?php if ( $depth + 1) { ?>
Correct:
<?php if ( $depth > 1) { ?>
That is what I think…
Related Posts:
- How to remove comment section from page only , not from posts pages?
- Modify column_author in WP_Comments_List_Table
- Adding Custom Fields to WordPress Comment Forms?
- Getting $comments outside the comment template
- Change “logged in” link in (you must be logged in to post a comment)
- Limit comments displayed on basis of user_id
- Comment filtering (search)
- Prevent WordPress from loading comments
- How can I & how do I change text displayed in comment via child theme
- multiple comment text areas
- Comments not nesed with custom template
- Comments Confusion
- show the meta values to visitors that collected via coment form
- Add Div to Comment Form
- Fastest way to get the comment and ping total count for a post
- changing font size and font of a custom message added after comment
- Highlight comments of all the site authors
- Adding comments to my custom theme
- Customizing Comments
- Attach File Funcion for Common people
- How can I style the Comment Section of a blog post
- Automatically reject a comment if website field contains anything
- Custom Avatars for WordPress Comments VIA Website URL?
- Show comments based on user role in front end
- Customized Comment Form Issues
- Changes in comments.php in the child theme does not show up on the site
- Running Gutenberg React in Development Mode
- Is there a blank theme framework compatible with WP 3.0? [closed]
- Plugin SVN & update API – how are plugins identified?
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- Custom Search Query
- Enable / Add Custom Keyboard Shortcuts To Work With WordPress’ HTML Editor
- Removing fields from the Media Uploader/Gallery
- Managing Images for a WordPress Blog: Picasa or Flickr?
- When using the block.getSaveElement hook can you output different markup based on whether or not you are in the edit view or the live page view?
- What is causing this error? “Warning: Invalid argument”
- How wp_ajax_nopriv since WordPress 3.1
- Modifying loop on a custom page, strange behaviour
- WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?
- Show post page only if the user has bought a specific product
- redirect product-category to a custom page
- Leveraging WordPress Comments on Custom Plugin Object page
- custom headers for static home page and posts page
- How to redirect WooCommerce shop URL?
- Change order of comment fields
- Best way to implement a thumbnail-based gallery in WordPress?
- Why is my mod_rewrite not working?
- Show posts on a page based on a category and tag(s)
- Create simple Cookie Box for WordPress
- How to remove buttons from the WP Editor on the edit post page in the admin area
- Different development environments (Mac & Windows)
- WordPress Locale Switching on Accept-Language Header
- How do I call in a category title on a category page in a child theme?
- Include custom JS without child theme
- Turn On Comments On Custom Post Types in Directory Theme
- WordPress media uploader – upload tabs not hiding
- how to convert Html block to dynamic widget?
- What is the best way to move a single site from one MS installation to another? [duplicate]
- Basic Authentication problem with custom API endpoints
- Moving wp-content folder
- Modify the display Text of number of comments
- Don’t change Custom Post Type slug to unique value
- Shop page custom buttons which is visible to only administrator
- Insert menu with a custom walker into page / post body using shortcode?
- Query for specific custom field
- Woocommerce custom field calculation
- Dynamic Control in customiser
- How to auto add nofollow to links in custom field?
- How to load a mycred hook from a plugin?
- toggle Multiple Loop with tittle
- problem saving/ retrieving custom meta with wp alchemy metabox
- How To make Custom page of every Category
- Created Custom Block – When I come back to edit post/page and change my block content – Update button stays disabled
- Global theme customization multisite
- How to style bootstrap container in WordPress?
- Floating CTA Image Integration
- Post filter with multiple checkbox taxonomy terms
- Altered Media Library URLs
- generate a static copy of the website footer html
- Multi-site customization
- Query 1 custom post type, each day, alphabetically
- Admin menu disable new/delete page
- Show different pages on site depending on user choice
- Is there a way to limit multi upload in media upload box?
- How to loop through 1 CPT with 2 Taxonomies
- Pulling posts into static site (wordpress as subdirectory)
- Call a duplicate registration form with other url
- How to support extra color options for shortcodes?
- retrieve theme custom settings
- pull custom fields values from wp-database in a nested foreach loop
- Customise default site setup
- Adding a third custom taxonomies
- Pass query param to custom page
- Custom CSS File wont work on second Page
- How to create a shortcode with HTML code in it and custom parameters/
- responsive screen not working [closed]
- Custom Post want button to add image and save in Postmeta
- Save And Display Mp3 Audio files on WooCommerce product page with Dokan
- Advice how to connect custom database with WordPress, change data in WordPress and finaly use this data
- Sort Search Results in Order of/by Character @ count (9) of post(s) title. (Ocean-WP theme)