We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Can I add an icon to the read more button? #32414
    Yvon
    Participant

    Thanks for all your help Elvin!

    in reply to: Can I add an icon to the read more button? #32406
    Yvon
    Participant

    Hi Elvin, thanks again. I tried the new code, but still get the same result. Almost all other plugins are switched off and the issue keeps appearing. I think I can upload svg to my media folder. Could you help me with the CSS pseudo element?

    Thanks!

    in reply to: Can I add an icon to the read more button? #32209
    Yvon
    Participant

    Hi Elvin,

    Thanks for your help. I changed the snippet code, but it still gives an error:

    I added the code in Code snippets like this:
    https://snipboard.io/YzuU42.jpg

    This is the error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:1 Stack trace: #0 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(292): {closure}(‘<div class=”wps…’) #1 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘<div class=”wps…’, Array) #2 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/wp-show-posts/inc/functions.php(240): apply_filters(‘wpsp_read_more_…’, ‘<div class=”wps…’) #3 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(292): wpsp_read_more(Array) #4 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(316): WP_H in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code on line 1

    I hope you can help me, thanks!

    in reply to: Can I add an icon to the read more button? #32094
    Yvon
    Participant

    Thanks for your reply. I added the code in Code snippets like this:

    https://snipboard.io/m8MxAf.jpg

    And the css like this:
    https://snipboard.io/D4CJN6.jpg

    I use Generatepress with Generateblocks and no other page editor.

    Thanks for your help.

    in reply to: Can I add an icon to the read more button? #32030
    Yvon
    Participant

    Hi Elvin, I followed this instruction and added the code to a code snippet. But it returns a fatal error. What could cause this?

    This is the error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:1 Stack trace: #0 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(292): {closure}(‘<div class=”wps…’) #1 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘<div class=”wps…’, Array) #2 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/wp-show-posts/inc/functions.php(240): apply_filters(‘wpsp_read_more_…’, ‘<div class=”wps…’) #3 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(292): wpsp_read_more(Array) #4 /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-includes/class-wp-hook.php(316): WP_H in /home/customer/www/staging8.ingevanhaselen.nl/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code on line 1

    Thanks for your help,
    Yvon

Viewing 5 posts - 1 through 5 (of 5 total)