WordPress.org

Ready to get started?Download WordPress

Forums

Prism Syntax Highlighter (detached)
[resolved] Can't search code (4 posts)

  1. kriszani
    Member
    Posted 1 year ago #

    Initially I liked the idea of putting code in the custom fields however I'm having two problems. I'll post them separately.

    Code stored in the custom fields doesnt seem to be searchable from the default WordPress search box. I haven't googled for a solution yet but it needs to be listed in the FAQ for the plugin.

    http://wordpress.org/extend/plugins/prism-detached/

  2. apfelbox
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    that is correct, although it seems out of scope of this plugin to provide a way to search custom fields.

    There is a way to search in custom fields, though: http://wordpress.org/support/topic/include-custom-field-values-in-search?replies=16

    I would suggest a separate code-search function, for clarity. Nevertheless, it should be possible to include it in the general search function without much effort.

  3. kriszani
    Member
    Posted 1 year ago #

    Yes I found that after posting this message. I dont see it as a major problem either. But i think you should make people aware of it - its just as important to know the disadvantages of any plugin as well as its advantages. I think having your code included in your default blog searches is very useful and writing custom search code into a theme may be a bit beyond some users.

  4. apfelbox
    Member
    Plugin Author

    Posted 1 year ago #

    I added a section in the FAQ.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.