0

I keep getting these messages on my custom post pages on my wordpress site....

Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/customer/www/stayjam.show/public_html/wp-content/themes/flatsome-child/template-parts/portfolio/single-portfolio-sidebar-right.php on line 1

Here is my line 1 but I can't figure out what I need to do!

<?php# 
    get_template_part('template-parts/portfolio/portfolio-title', flatsome_option('portfolio_title')); 
?>
Jay Blanchard
  • 34,243
  • 16
  • 77
  • 119

1 Answers1

0

I'm assuming the warning is given as undefined constant php due to the opening tag in your php file.

Try to ensure the file is enclosed with <?php ?> tags.

dkutin
  • 31
  • 5