Theme ignore

  • Author
    Posts
  • #29324
    Rick H

    Using the latest Mantra theme with WP 4.1. I have (via a custom plugin) modified the default fields for comments using the comment_form_default_fields and comment_form_default hooks (as defined in the WP Codex).

    I have verified that the plugin is properly changing the comment form when the TwentyFifteen theme is used.

    If I make no other changes but change the theme to Mantra , the customized fields added via those two hooks are not used by Mantra. The Nirvana theme also has the same problem. Changing the priority of the add_filter for the hooks does not fix the problem.

    It appears that the Nirvana and Mantra themes do not allow the use of the comment_form_default_fields and comment_form_default hooks. This has made the plugin (which needs to modify the comment form to block spam bots) not usable with Nirvana or Mantra.

    Please advise how to allow the comment_form_default_fields and comment_form_default hooks to work with your themes.

    Thanks….Rick…

    #29390
    Zed
    Cryout Creations mastermind

    Hi.

    Could you give us a sample custom code for this functionality that works on TwentySomething but not on our themes so we can take a look at the issue?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Theme ignore’ is closed to new replies.