Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Drop-down Icon in Firefox Browser is not displayed! #1189264

    Hi Yigit,

    thanks for helping me… i’ve installed the enfold child theme, does that matter?

    I’m trying to update the latest enfold version but it doesnt work, see this link:

    “download failed. A valid URL was not submitted”

    what is wrong?

    thanks,
    Daniel

    • This reply was modified 4 years, 8 months ago by dafaguru.
    in reply to: Zugriff auf functions.php Datei ohne FTP Server #984717

    Hey, yes i’m simply looking to add the code into functions.php of theme!!
    I’m sorry, but i can’t find the “Editor” under Appearance in the WordPress Menu. There are only

    – Themes
    – Customise
    – Widgets
    – Menu

    How can i find it? Or do i have make any other Settings in den WordPress Menu to find the Editor?

    Thank you :-)

    in reply to: Zugriff auf functions.php Datei ohne FTP Server #984566

    Hey Rikard,

    thanks for your answer. I’m trying to write in english, forgive me for mistakes please ;-)

    Yes, i’m looking to make changes in the eventespresso plugin. I wanna change a price for a ticket to “free”. So the plugin developers said that i have to change/write a new the code into my functions.php data.
    This is what they said:

    We can see that we have a free ticket that has a pricing of zero (shown as 0.00). Do you host events that have free tickets? Wouldn’t it be great to be able to show the price as “free” instead of “0.00.”
    You can enable this on your own site with a filter.

    the code:

    function convert_zero_to_free( $amount, $return_raw ) {

    if ( ! $return_raw || ! is_admin() ) {

    $amount = $amount == 0 ? __( ‘free’, ‘event_espresso’ ) : $amount;

    }
    return $amount;
    }
    add_filter( ‘FHEE__EEH_Template__format_currency__amount’, ‘convert_zero_to_free’, 10, 2 );

    There are a couple ways to add the filter above to your site. The first is to add the code to your theme’s functions.php file. However, this edit may be lost if you update your theme and it removes and replaces the functions.php file. A safer method is to create a custom/site-specific plugin.

    And here is the link to their support site where i got this Information from:
    https://eventespresso.com/wiki/show-ticket-price-zero-free/

    Thank you very much for helping me :-)

    Best regards,
    DaFaguru

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