WordPress.org

Support

Support » Plugins and Hacks » Prism Syntax Highlighter (detached) » [Resolved] [Plugin: Prism Syntax Highlighter (detached)] Can't search code

[Resolved] [Plugin: Prism Syntax Highlighter (detached)] Can't search code

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author apfelbox

    @apfelbox

    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.

    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.

    Plugin Author apfelbox

    @apfelbox

    I added a section in the FAQ.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Prism Syntax Highlighter (detached)] Can't search code’ is closed to new replies.
Skip to toolbar