Home Forums Theme support Hellas Theme

This topic contains 5 replies, has 2 voices, and was last updated by  7Theme Support 8 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Hi There,
    How can I add headline for meal category pages. Also how can I disable inner pages of meal items …

    Thank you in advanced…

    Hi,

    I’m sorry, you cannot set a headline for the meal category (taxonomy) pages.

    Also how can I disable inner pages of meal items …

    I’m not sure what you mean. Do you want to have only the preview for the meals, not linked to the single entry?

    Hi There,
    With a little search I did it actually…

    I add
    <h1 style=”text-align: center;”><?php echo single_cat_title(); ?></h1> in taxonomy-meal-tag.php and

    <h1 style=”text-align: center;”><?php echo get_the_title(); ?></h1>
    in meal-menu-grid.php an it worked perfectly fine….

    That’s Ok!

    Second one is YES. I dont want the menu items has link. I need just the preview of them under categories.

    Also how can I change the name /meal-tag/ on url or hide from URL???

    Thank you…

    Hi,

    sorry, I thought you dont know how to edit the php files…

    Second one is YES. I dont want the menu items has link. I need just the preview of them under categories.

    Ok, please open the files “meal-entry.php”, replace line 13

    <h3><a href='<?php echo get_permalink(); ?>'><?php echo get_the_title(); ?></a></h3>

    with this:

    <h3><?php echo get_the_title(); ?></h3>

    Also how can I change the name /meal-tag/ on url or hide from URL???

    This is a WordPress core function, so we cannot remove this in the theme, but I think there are some plugins out there like this one:

    https://wordpress.org/plugins/custom-post-type-permalinks/

    Thank you…

    You’re welcome!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.