Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #372182

    Please, look at the post on Enfold demosite. There is the category link above of the feature image, and the right-side categories menu too. How it is possible to assign these category’s links with the pages?

    The main reason of this behavior is the following: I can use any page created with advanced content editor instead of regular category page (which is the same for all categories, thanks to archive.php template). Each of created wp-posts category has the ID – it will be fine to find the way to assign this ID with custom page. How it is possible to do? I have been trying to find some plugin or another solution, but without of success yet. Please, help me with this.

    #372202

    Hey Sergey!

    It’s not possible to add categories to pages. Are you trying to list your pages with one of our shortcodes like the regular posts? It would be best to create posts or portfolios for this purpose. Or you could create a new custom post type with this plugin, https://wordpress.org/plugins/custom-post-type-ui/.

    Cheers!
    Elliott

    #372262

    Hey Elliott!

    Hmmm, I’m afraid, I don’t understand you right. Let me explain a little bit more. So, now we can add the categories to page with help of the Enfold Blog Elements and Post Slider element, right? So, we can create nice and unique looked page for each of category. Only one “little” thing is here: we need to assign each of that unique page with related category created under “Posts -> Category” WP-admin panel.

    So, how I see the possible workflow for this:

    1. When admin creats the category, he/she defines the name, slug, description of the new category and also admin can select the parens for new category (if it is required, of course). What if admin can also define there the link to the page, which will be assigned with this category? It looks like how works the WPCustom Category Images plugin. Well, let’s think – our admin can select what the page will assigned with the category here.

    2. When the visitors click-on to the category links, the archive.php is called. The php-script, which is inserted into archive.php (little hook), checks then – eithe the called category is already assigned with some page, or not yet. In case the category is already assigned with defined page, the archive.php redirects the client’s browser to that page. Bingo! If the category isn’t assigned yet, the archive.php works as usual.

    With this solution we can make all category’ pages as unique for defined category/categories, without of additional templates for this. I well understand: this question is out of support, but I think, the solution already exists, I hope.

    #372454

    Hi!

    I’m sorry but I’m not sure I understand. It sounds like your trying to customize the archive category pages. If so then see here, http://codex.wordpress.org/Category_Templates, you can create a category.php template file and use that to edit your category pages.

    Regards,
    Elliott

    #374542

    Hey!

    Ok, let’s do the my issue simpler a litle bit. As we know, there is the post category’s description field in WP-admin (under slug and parent lines):

    category description fields

    The Enfold theme can shows this description text at the top of posts on the category page. But how it is possible to use some shortcodes for the description text? Now the text of category description shows as simple unformatted text. In order to make the view of that text better a little: how is possible to use some shortcodes for formatting (?), like below:

    [av_heading heading='Description of category' tag='h2' style='blockquote modern-quote modern-centered' size='25' subheading_active='subheading_below' subheading_size='15' padding='10' color='' custom_font='']
    Some subdescription's underline of text.
    [/av_heading]

    Regards,
    Sergey

    #375207

    Hi!

    Open up /enfold/archive.php and change line 29 from this.

    <?php echo term_description(); ?>
    

    To this.

    <?php echo do_shortcode(term_description()); ?>
    

    Best regards,
    Elliott

    #375523

    Hi Elliott!

    Thank you for kind support! Five stars, as usual :) The Enfold theme with Kriesi support team forever!!!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Is it possible to assign wp-links to post' category with page/pages?’ is closed to new replies.