Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: HMTL in pages
    Thread Starter psiweb

    (@psiweb)

    Thanks everyone for the replies and advice, I am going to work on the shortcodes.

    Forum: Fixing WordPress
    In reply to: HMTL in pages
    Thread Starter psiweb

    (@psiweb)

    Thanks for the feedback, I think you are right if it were only me updating it there would be no problem, but since there could potentially be many people down the road who use it this might be a good way to lock down some of the pages and the code.

    Is this a common solution? I am fairly new to wordpres so want to make sure I am following best practices.

    Forum: Fixing WordPress
    In reply to: HMTL in pages
    Thread Starter psiweb

    (@psiweb)

    Yes I was afraid of turning of the html editor altogether as well. I haven’t looked into shortcodes much but it sounds like this might be a good solution for what I am looking for, thanks I will check it out.

    Also is common to put a lot of html code in the pages and posts or is it something people try to steer clear from? Or does it just depend?

    Thread Starter psiweb

    (@psiweb)

    As usual, I think I tried to over complicate this, I was able to get my function to work by removing the action and adding my action to it simply by adding the code below:

    remove_action( 'init', 'sandbox_widgets_init' );
    
    add_action( 'init', 'mysandbox_widgets_init' );

    Thanks for the quick reply.

    Thread Starter psiweb

    (@psiweb)

    Thanks for the reply. I had tried to do this and it gives me an error:
    Fatal error: Cannot redeclare sandbox_widgets_init() (previously declared…

Viewing 5 replies - 1 through 5 (of 5 total)