inFocus v1.6 TOP MENU QUESTION

resolved (35 posts) (3 voices)

  1. infinity360
    Member

    Hi Guys,

    It sounds kind of weird that I already bought inFocus 2.3, but still fiddle around with v1.6. What I would like to know is that when I create a new top menu say "News" and I want posts or categories associate with any kind of news to only show up under the News menu, but nowhere else. How would I do that?

    Please help! Your support is greatly appreciated.

    Posted 7 months ago #
  2. Just a user:

    If you're using the latest version, go to Menus and select and create a new menu.

    Click all the Pages (or categories) you want to appear in the menu and Add them to the custom menu.

    In the menu area be sure to name your menu and then drag the menu items in the order you want them to appear. For those pages (or categories) you want to be "children" of another menu item, simply move/slide to the right underneath the parent menu item. This will make the page slightly indented. So it looks like an outline.

    Then save the menu and in the upper left of the Menus Dashboard select this menu as the Primary Menu.

    For posts? Not sure, I may not have that enabled, so I don't have the option. If you don't there might be a setting elsewhere. If not you can always create a custom link with the post permalink and add it to the menu and move it around as I noted. Good luck.

    Posted 7 months ago #
  3. infinity360
    Member

    Hi MacMyDay,

    I'm using inFocus v1.6 not ready for the latest yet even though I bought it. I'm not talking about Parent-Child menu, I'm talking about creating another top menu with posts only from specific category.

    Thanks.

    Posted 7 months ago #
  4. So you want to add another menu item to existing menu for only posts from specific category? Or do you want to have a menu link to an archive of posts by category?

    Either way, you probably still need to create a custom menu. You can include the category in the menu. Individual posts? Probably a way to create an RSS feed from that category and display the titles and include in the menu, but I'll leave that to Ruderic or Elliott -- or they'll have a better solution.

    Those posts will change as you add new posts? WIll you show just the latest? Or a set #?

    Posted 7 months ago #
  5. infinity360
    Member

    "So you want to add another menu item to existing menu for only posts from specific category?"

    Yes, that's exactly what I like to achieve.

    Posted 7 months ago #
  6. Elliott
    Support

    Hello infinity360,

    If you already bought v1.6 then you do not need to purchase v2.3 as updates are free.

    See here for creating and using a Wordpress menu, http://mysitemyway.com/docs/index.php?title=Using_Wordpress_Menus. If you do not see your categories or posts to drag over then click on "Screen Options" in the top right hand corner and check them to display.

    Unfortunately I do not know of any way to automatically get your posts to appear in the Wordpress menu. There is an option called "Automatically add new top-level pages" but I haven't tested it out, you may be able to find a plugin that does this for you though.

    Thanks for the help MacMyDay.

    Posted 7 months ago #
  7. infinity360
    Member

    Hi Elliott,

    Sorry, the instruction you gave is not what I was looking for. Basically, what I was looking for is just another Blog page, but with a different name say "News" and all the news posts would be displayed when you go to it.

    Home Blog Portfolio Gallery News Contact
    --------------------------------------------

    So when I click on the "News" menu all the posts in regards to any kind of news would be displayed as it would on the Blog page.

    Thanks.

    Posted 7 months ago #
  8. Elliott
    Support

    You would want to use our blog shortcode then, http://mysitemyway.com/docs/index.php?title=Blog_Shortcode.

    Posted 7 months ago #
  9. infinity360
    Member

    The blog shortcode does not work with inFocus v1.6.

    Posted 7 months ago #
  10. Elliott
    Support

    You would need to use our one category template then, http://mysitemyway.com/support/topic/more-newsblog-pages?replies=9.

    Posted 7 months ago #
  11. infinity360
    Member

    Thanks - Elliott!

    That's exactly what I was looking for and it worked like a charm.

    Posted 7 months ago #
  12. infinity360
    Member

    Hi Elliott,

    As far as the One Category goes everything working fine, but minor problem I just happened to notice. The issue is that when click on the Navigation menu say News created with One Category template the Blurb shows up fine, but as soon as you click click on Read more of one of the posts the Blurb changes to Blog rather than the menu's name.

    Any idea what I need to do to fix this problem? Just so know I read all 3 pages in the thread you provided above, but to no avail.

    Thanks.

    Posted 7 months ago #
  13. Elliott
    Support

    Try opening up the template and change line 165,

    <h1><?php echo get_the_title($blog_page) ?></h1>

    To this,

    <h1><?php echo get_the_title($post->ID) ?></h1>

    Or open up /wp-content/themes/infocus/lib/includes/template-single.php and change line 118,

    <div id="intro_blurb_title"><span><?php echo get_the_title($blog_page) ?></span></div>

    To this,

    <div id="intro_blurb_title"><span><?php echo get_the_title($post->ID) ?></span></div>

    Posted 7 months ago #
  14. infinity360
    Member

    Elliot,

    When I change the codes suggested above the Blurb picks up the title of the post instead of retaining the name of the menu. Please help!

    Thanks

    Posted 7 months ago #
  15. Elliott
    Support

    Send us a link to your page or take a screenshot so we know exactly which element your talking about.

    Posted 7 months ago #
  16. infinity360
    Member

    Here you go.

    I don't have a real website yet, it still on my local machine.

    Attachments

    1. image_2.png (8 KB, 0 downloads) 7 months old
    2. image_1.png (7.1 KB, 0 downloads) 7 months old
    Posted 7 months ago #
  17. Elliott
    Support

    That looks like the post title. Changing the intro options when editing the post does not work? http://mysitemyway.com/docs/index.php?title=Post_Options#Intro_Options.

    Posted 7 months ago #
  18. infinity360
    Member

    No, this only happens when I use the One Category template, the Blog template does not have this issue. The thread you provided gears more toward v2.3.

    Posted 7 months ago #
  19. Elliott
    Support

    Go ahead and send us a link so we can take a closer look.

    Posted 7 months ago #
  20. infinity360
    Member

    I believe I have mentioned in past couple replies ago that I don't have a link or site yet, I'm still working out all issues like this on my local machine. Those images in my previous reply don't help?

    Posted 7 months ago #
  21. Elliott
    Support

    Are you wanting your post title to display your category instead of the actual post title?

    Posted 7 months ago #
  22. infinity360
    Member

    No, I don't want the Blurb to show post title nor do I want the category. I want the Blurb to show the menu's name/page's name regardless what post I'm reading under that menu name respectively. The reason I also mentioned Page's name because that's what menu's name is made up of.

    For example: Home | Blog | Portfolio | News | Tutorial | Contact

    If I go to Blog menu, I want the Blurb to show as Blog regardless what post I'm reading under it. Likewise with say News menu, regardless what post or article I'm reading under this menu Blurb would still shows that I'm under News menu.

    Thanks.

    Posted 7 months ago #
  23. Elliott
    Support

    You should be able to change the title with what I suggested here, http://mysitemyway.com/support/topic/infocus-v16-top-menu-question?replies=23#post-33740.

    If that's not working for you then send us a login when you go live and we'll take a closer look.

    Posted 7 months ago #
  24. infinity360
    Member

    I tried that suggestion and below was my reply to you 3 days ago.

    Elliot,

    When I change the codes suggested above the Blurb picks up the title of the post instead of retaining the name of the menu. Please help!

    Thanks

    Posted 3 days ago #

    Posted 7 months ago #
  25. Elliott
    Support

    The post title should be the same as it displays in your menu.

    When you go live send us a link and we'll take a closer look at what's going on.

    Posted 7 months ago #
  26. infinity360
    Member

    I believe I have made myself very clear with examples and images, but the responses are going around and around.

    Unbelievable! I've wasted 3 days and the issue looks to be simple, but yet has not been resolved.

    Thanks.

    Posted 7 months ago #
  27. Elliott
    Support

    If your menu text is different from the post title then something else is going on. When you go live send us a link to your site so we can take a closer look.

    Posted 7 months ago #
  28. infinity360
    Member

    Again, after making the changes to the code that you suggested here: http://mysitemyway.com/support/topic/infocus-v16-top-menu-question?replies=23#post-33740. Hence the issue I'm facing.

    Attachments

    1. image_4.png (95.2 KB, 1 downloads) 7 months old
    2. image_3.png (89.7 KB, 0 downloads) 7 months old
    Posted 7 months ago #
  29. Elliott
    Support

    So your wanting the intro to use the parent page?

    The only way to get this working that I know of would be by using custom fields.

    Open up /wp-content/themes/awake/single.php and on line 17 you should see this,

    <?php webtreats_teaser_text($post->ID); ?>

    Change it like this,

    <?php if (get_post_meta($post->ID, 'custom_title', true)) { ?>
    <div id="intro_blurb">
    <div class="inner"><?php echo get_post_meta($post->ID, 'custom_title', true); ?><h1></h1>
    <div id="blurb"><?php echo get_post_meta($post->ID, 'custom_blurb', true); ?></div></div>
    </div>
    <? } else { webtreats_teaser_text($post->ID); } ?>

    And then in each post where you want to change the title / intro enter a new custom field with a name of "custom_title" and a value of whatever you want the title to be.

    The same with the blurb, a name of "custom_blurb" and a value of whatever you want the blurb to be.

    Posted 7 months ago #
  30. infinity360
    Member

    I'm using inFocus not Awake!

    However, I did try opening up the single.php file for inFocus, but did not fine the line <?php webtreats_teaser_text($post->ID); ?>.

    Posted 7 months ago #
  31. Elliott
    Support

    For inFocus try this,

    Open up /wp-content/themes/infocus/lib/includes/template-single.php and on line 118 you should see this,

    <div id="intro_blurb_title"><span><?php echo get_the_title($blog_page) ?></span></div>

    Change it like this,

    <div id="intro_blurb_title"><span><?php echo get_post_meta($post->ID, 'custom_title', true); ?></span></div>

    And then in each of your posts that you need to change the title create a new custom field with a name of "custom_title" and a value of whatever you need the title to be.

    Posted 7 months ago #
  32. infinity360
    Member

    Hi Elliott,

    This modification work just fine, but is this the only way?

    While I don't mind about adding another custom field to my post, however, it would add another layer of complication for others as I intended to open this site up to public so everyone can share their traveling experiences.

    Any other suggestions?

    Thanks.

    Posted 7 months ago #
  33. Elliott
    Support

    With how you need it that is the only way that I can think of.

    Posted 7 months ago #
  34. infinity360
    Member

    Would there be an issue like this one in inFocus v2.3? Not suggesting that I would go straight to 2.3 and not even worry about this v1.6.

    I'm kind of shy away from v2.3 because the setup little confusing, but I know I would have to transition to v2.3 eventually. For now, I'll just work with v1.6 as long as I can.

    Thanks for all your support!

    Posted 7 months ago #
  35. Elliott
    Support

    In 2.3 we have the blog shortcode and also an intro section where you can completely customize the title, teaser text, etc etc.

    If your going to update I would do it as soon as possible so there are less settings you have to reconfigure.

    Posted 7 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme