Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter jbt103

    (@jbt103)

    Oh I forgot I posted this, for some reason it started working now. Thanks!

    Thread Starter jbt103

    (@jbt103)

    By the way, if anyone else has this same problem, there is an incorrect <div> element in the recipe-template-shortcode.php file.

    Look for this bit towards the bottom:
    </div> <?php if (!empty($post->post_content) && get_option('gmc-note-position') == '1') { ?>

    and change it to:

    <div>       <?php if (!empty($post->post_content) && get_option('gmc-note-position') == '1') { ?>

    Basically just did a search of “div” on that page and made sure they all had an open and closing div, there should be equal numbers of openings and closings so just do a search and count.

    Thread Starter jbt103

    (@jbt103)

    Sure its JoshuaTrent.com. I just started customizing this theme so it’s still under construction. style.min.css is the file for this theme for some reason, instead of style.css. (Although I’ve been making the changes to both)

    I do want the breadcrumbs to display on my posts still though, will that affect the posts as well?

    Thread Starter jbt103

    (@jbt103)

    That would be fine too, I have absolutely NO idea how to do that though haha. I’m kind of teaching myself code as I go.

    Here is the css for my breadcrumbs:

    /* Breadcrumbs
    -------------------------------------------------------------- */
    .breadcrumbs {
    	font-size: 11px;
    	color: #aaa;
    	float: left;
    	width: 96.3%;
    	padding: 2px 2px 3px 2px;
    	margin-bottom: 0px;
    }
    .breadcrumbs a { color: #777; }
    .breadcrumbs a:hover { color: #000; }
    Thread Starter jbt103

    (@jbt103)

    Oh sorry about that, didn’t know that. Well if anybody out there has any advice, even the best way to tackle this (custom page template with narrow sidebar or custom menu with page template).

    Any advice is greatly appreciated!

    Forum: Hacks
    In reply to: BuddyPress Profile Link
    Thread Starter jbt103

    (@jbt103)

    I wrote that wrong – I used

    // Filter wp_nav_menu() to add profile link
        add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
        function mme_nav_menu_profile_link($menu, $args) {
    	$profilelink = '<a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile', 'buddypress' ) . '</a>;
    	if (is_user_logged_in() && 'usernav' == $args->theme_location )
    		return $profilelink . $menu;
    	else
    		return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'mme_nav_menu_profile_link', 10, 2);

    It’s still showing up white.
    I do have BuddyPress installed and working, although I limited some of the add on features like newsfeed and such. I checked my header and the theme location is ‘usernav’ so I’m still not sure what I’m doing wrong.

    Forum: Hacks
    In reply to: BuddyPress Profile Link
    Thread Starter jbt103

    (@jbt103)

    Hi @mercime
    OK, I tried this:

    // Filter wp_nav_menu() to add profile link
        add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
        function mme_nav_menu_profile_link($menu, $args) {
    	$profilelink = '<a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile', 'buddypress' ) . '</a>;
    	if (is_user_logged_in() && 'usenav' == $args->theme_location )
    		return $profilelink . $menu;
    	else
    		return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'mme_nav_menu_profile_link', 10, 2);

    but it gave me a white screen. My site is JoshuaTrent.com by the way. I have a few menus, top category, category and the menu in question which is “usernav” and only active when someone is logged in.

    I’m having the same problem. I’ve noticed it for a while but just now got around to trying to fix it. I’m really curious to find out where my numbers are now since November lol.

    I saw that one but I really need text input searches for last names and first names and stuff not tag search. :-/ Thanks though!

    Did anybody figure this out? I would love to get this plugin working but can’t figure out why it’s redirecting and not showing any results.

    Thread Starter jbt103

    (@jbt103)

    Do you mean the CSS file? Not sure which file/or how to do that… any suggestions?

    Forum: Themes and Templates
    In reply to: CSS Nav Menu
    Thread Starter jbt103

    (@jbt103)

    OK, just noticed another problem, I can’t get the menu I assigned to show up, it’s just showing pages that have been clicked “show up in menu”. I made a custom menu but it hasn’t showed up yet. Any suggestions?

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