Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Matt

    (@mtthwbckmn)

    Have you made sure that you have logged out of WordPress? You won’t see the coming soon page if you are logged in.

    Thread Starter Matt

    (@mtthwbckmn)

    I know the default settings can be found in the class-qmn-quiz-creator.php file. I’ve narrowed it down to the code below:

    class QMNQuizCreator {
    	public function create_quiz($quiz_name) {
    	$results = $wpdb->insert(
    			$wpdb->prefix . "mlw_quizzes",
    			array(
    				'message_before' => 'You may start the %QUIZ_NAME quiz now.',
    				'require_log_in' => 1,
    				'total_user_tries' => 1,
    				'loggedin_user_contact' => 1,
    				'message_after' => 'You have completed the quiz. Please return <a href="#">home</a> to start your next lesson.'
    			)
    		);
    	}
    }

    How can I edit that within functions.php or another method without overwriting the core plugin file?

    Matt

    (@mtthwbckmn)

    Robvgr,
    I too was looking for a way to do accomplish what you’re doing. It seems that the plugin developer wrote up the wrong shortcode for running it properly. You’ll need to remove any backslashes ( \ ) from the shortcode. Your code would actually be:

    [smartpwpages parent="121"]

    This allows it to run anywhere on the site. Hope this helps.

    Matt

    Thread Starter Matt

    (@mtthwbckmn)

    @wpfan1000
    The .current-menu-item is only applied to navigation menus that use <li>. I was trying to build an HTML5 navigation using <nav> and <a> instead of <ul> and <li>. How can I get the .current-menu-item class applied to the <a> in my menu?

    This is what my menu output looks like:

    <nav>
      <a href="/about">About</a>
      <a href="/contact">Contact</a>
    </nav>

    When I’m on /about I want .current-menu-item applied as a CSS class.

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