• Hi,

    Is this possible to do in wordpress?

    Script which would show/hide some text by looking at title of post.

    So, if some word appere in title (defined in that script) that script would hide part of text.

Viewing 1 replies (of 1 total)
  • Thread Starter fkranjce

    (@fkranjce)

    OK….i’ve found it.

    <?php if( !is_single(‘xxxxxx’) ) : ?>
    ~ your ad code goes here ~
    <?php endif; ?>

    That ‘xxxxxx’ should be title of post. Is it possigle to make it to search for one word anywhere in title.

Viewing 1 replies (of 1 total)

The topic ‘show/hide text’ is closed to new replies.