• Resolved rseigel

    (@rseigel)


    I’m trying to enter the following PHP snippet.

    the_field('weight');

    For some reason it throws an error:

    Forbidden

    You don’t have permission to access /wp-admin/options-general.php on this server.

    The PHP is valid based on another plugin (Advanced Custom Fields 4.4.5) I have installed.

    Any ideas?

    https://wordpress.org/plugins/post-snippets/

Viewing 1 replies (of 1 total)
  • Hi,

    I tried the snippet with ACF and it shows no problem. My guess is that there is some other plugin interfering. You could try to disable all plugins and only enable Post Snippets and ACF and see if that works. Maybe also use the default theme at first. And then start reenabling plugins until finding out which one is preventing it to work.

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble Entering PHP’ is closed to new replies.