How to "define a constant" in the function.php?

  • Author
  • #2729531


    I’m using the Arcade Basic theme for this homepage:
    On the front page there is a button with the text “See more”. I want to change this (to another text, and it will be in Swedish).

    In the header.php there is a comment saying that:
    * You can overwrite the defeault 'See More' text by defining the 'BAVOTASAN_SEE_MORE' * constant in your child theme's function.php file.

    1. There isn’t even a function.php-file, only a functions.php-file, but I guess it’s the same?
    2. There is no BAVOTASAN_SEE_MORE-constant in the functions.php (that line isn’t even mentioned).
    3. So how do I do, can I add the constant above, and how do I write that code (I’m no good at PHP).

    The functions.php-code looks like this:

    [Moderator note: removed code sample since it broke the page]

    Thanks a lot!



    These forums are for sites hosted on, but you’re running the WordPress software on your own hosting. If you need further help with the self-hosted version of Arcade Basic, feel free to post in its forum at

    You’ll need a free account to post – if you don’t already have one, you can register here:

    Be sure to provide a link to your site when you post so people can help you more easily.

    The forums are currently in read-only mode for some software maintenance but should be back soon.

The topic ‘How to "define a constant" in the function.php?’ is closed to new replies.