Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter redmercer

    (@redmercer)

    Worked like a charm! Thank you for the direction.

    For those that are interested. I followed the instructions on how to create a MU Plugin via Godaddy

    Added the following to the my-customization.php file.

    <?php
    /*
    Plugin Name: Hello World!
    */
    
    function my_own_action_function(){
    	echo "<p class='someclass'>Hello world.</p>";
    }
    add_action( 'primer_after_page_title',       'my_own_action_function',10 );
    ?>
    
    Thread Starter redmercer

    (@redmercer)

    Sweet! Yeah I was worried about that. I’ll give that a shot.

    Thread Starter redmercer

    (@redmercer)

    Ok I managed to figure it out. Posting below what I ended up doing.
    Side note: It would be great to be able to update the copy outside of the functions.php file. Suggestion on how to accomplish that would be awesome.

    funtcions.php

    add_action( 'my_own_action',       'my_own_action_function',10 );
    function my_own_action_function(){
    	echo "<h3>hello world</h3>";
    }

    page-title.php

    	do_action( 'primer_before_page_title' );
    
    		primer_the_page_title();
    		do_action('my_own_action');
    

    The what the file plugin was very helpful in figuring out what file to look for.

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