Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Oops. It was not CF7 to blame.
    Thanks to both of you for your efforts!

    I am experiencing this. Would love for CF7 to fix this issue.

    Same goes for me, I’ve posted it in the Pro forums.
    It’s under the name “twentwatchers”.

    Hoping someone is able to help over there :^)

    I agree with Surbma,
    it’s weird like that, Surbma, you can create a custom template to fix that though.

    What I find extremely frustrating is that there’s additional wrappers around the page content. Even when creating a custom single-event.php I still get bogus wrappers WITHIN my #content, breaking all the styling in my theme applying to the #content.

    Is there ANY way to get it to use the default? IE: not having #tribe-events-pg-template but using the normal stuff that I get from genesis?

    I’d REALLY love to use my default Genesis page template and add the event information with hooks.

    I’ve been trying to make editors able to change the sidebar…
    And I ended up having the exact same problem, even though the roles and capabilities page says there is an option for it! (edit_theme_options)
    But it doesn’t exist…

    So I’ve come up with a work around..
    Might not be the best way but it works..
    Hides theme link and if the user clicks the “Appearance” button (which would go to theme.php) it checks wether the user is an editor and then redirects it to widgets.php…

    So for an editor it would look like this:

    if(is_admin()){
    	$role =& get_role('editor');
    	$role->add_cap('switch_themes');
    	if (!current_user_can( 'manage_options' )){
    		echo '<style type="text/css">.wp-first-item { display: none;}</style>';
    		$current_page =  "http://" . $_SERVER['HTTP_HOST']  . $_SERVER['REQUEST_URI'];
    		$dont_visit_this = "http://" . $_SERVER['HTTP_HOST']  . "/wp-admin/themes.php";
    		if ($current_page == $dont_visit_this){
    			header("Location:http://" . $_SERVER['HTTP_HOST']  . "/wp-admin/widgets.php");
    		}
    	}
    }

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