Where to put PHP code - no functions.php file

Support General Where to put PHP code - no functions.php fileResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36070
    Macky McCormackMacky McCormack
    Participant

    Hey,

    I need to get some functionality that is only available by using php. I am currently learning php and wordpress back-end so this isn't a major issue (although tbh plugins that require coding to use kind of defeats the point of a plugin in the first place, imo).

    I am also using Oxygen Builder so the theme is disabled. So if I was to use code to create my post types and fields groups - where do I put my code? Is the only option to create a custom plugin?

    Thanks

    #36072
    Long NguyenLong Nguyen
    Moderator

    Hi Macky,

    You can use the plugin Code Snippets to implement the code without the file functions.php of the theme https://wordpress.org/plugins/code-snippets/

    #36073
    Macky McCormackMacky McCormack
    Participant

    OK thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.