WordPress.org

Forums

WP Post Signature
[resolved] p-post-signature-page.php on line 149 Error (12 posts)

  1. Fakiex
    Member
    Posted 1 year ago #

    Hello after i Installed this Plugin its saying:

    Warning: in_array() expects parameter 2 to be array, string given in /xxxx/xxxxx/public_html/wp-content/plugins/wp-post-signature/wp-post-signature-page.php on line 149
    Category Name

    The Line in wp-post-signature-page.php on line 149 is this one:

    if(!in_array($category->cat_ID, $current_signature['signature_exclude_cates'])){

    Whats wrong?!

    Its saying this on each Category after install

    If i press Save changes and add some htl text its nothing Displayed?!

    Can anyone help to Fix this Please?!

    https://wordpress.org/plugins/wp-post-signature/

  2. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    Please updat to v0.2.10 and see if it was fixed.

  3. Fakiex
    Member
    Posted 1 year ago #

    Hello

    Thanks for your Support

    Its saying now
    Warning: array_key_exists() expects parameter 2 to be array, string given in /xxx/xxxxx/public_html/wp-content/plugins/wp-post-signature/wp-post-signature-page.php on line 151

    This is the Line 151:

    if(array_key_exists('signature_exclude_cates', $current_signature)

    Can you fix this?!

    Regards

  4. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    Please update again.

  5. Fakiex
    Member
    Posted 1 year ago #

    I updated the new version now its showing no error but i activated it and added:
    %post_title%, %post_link%, %bloginfo_name%, %bloginfo_url%,

    But nothing is showing up in Posts

    Maybe this is not working on my style its custom style

    Regards

  6. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin hooks the "the_content" API to append a signature. So, the plugin should work if your theme invokes this API.

  7. Fakiex
    Member
    Posted 1 year ago #

    where can i check this which file i can post then the content

    regards

  8. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    I could check this for you, if I have access of your blog.

    My email is soli@cbug.org.

  9. Fakiex
    Member
    Posted 1 year ago #

    i got it working i had DUplicate SQl Entry from old installlation,

    I have a other question can you say me how i can style the Text?!

    With rounded corner and colored Background?!

    Like a Box like this?!

    http://i.imgur.com/MeYu0cN.png

    Regards

  10. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    You could use CSS in your signature.

  11. Fakiex
    Member
    Posted 1 year ago #

    but how to do that the Signature has no own class?!

    Regards

  12. Soli
    Member
    Plugin Author

    Posted 1 year ago #

    You could add a class by yourself.

    Signature can be HTML, like this:

    <div id="mysig" class="sig>
    I'm a signature.
    </div>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Post Signature
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic