Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello gcb111, are you referring to the Individual Pages Slug or Category Pages Slug?

    Can you post your URL here or a screen dump so that we can check further your request.

    Kind regards

    Thread Starter gcb111

    (@gcb111)

    CATABLOG category pages. In archive.php is this line:

    <?php _e( ‘Blog Archives’, ‘catchbox’ ); ?>

    I don’t want the Catablog Category Page to print “Blog Archives” at the top of the page. I want it to print the Catablog Category Name.

    Hello can you publish your url here so that I can see if you don’t mind.

    Kind regards

    Hello again, if none of my suggestion help you. You might want to consider integrating CataBlog into your theme. Simply by adding two files:

    The files to add:

    Single CataBlog Item Page: single-catablog-items.php
    CataBlog Category Archive: taxonomy-catablog-terms.php

    You can read more about it in Zach’s website, Displaying Your Catalog In Post.

    I hope this helps you further.

    Kind regards

    Thread Starter gcb111

    (@gcb111)

    I figured it out. I replaced this line in archive.php:
    <?php _e( ‘Blog Archives’, ‘catchbox’ ); ?>

    with this line:
    <p><?php single_cat_title(); ?></p>

    Yay!

    Hi, that is good news 🙂 Well done.

    Hi, tried your solution, its not working for me. Would you please help me check what I need to fix.

    Here’s my archive.php

    <?php
    	global $SMTheme;
    
    	get_header();
    ?>
    			<h1 class="page-title"><?php
    
    				   /* If this is a daily archive */
    				   if (is_day()) { printf( $SMTheme->_( 'dailyarchives' ), get_the_date() ); 
    
    					/* If this is a monthly archive */
    					} elseif (is_month()) { printf( $SMTheme->_( 'monthlyarchives' ), get_the_date('F Y') );
    
    					/* If this is a yearly archive */
    					} elseif (is_year()) { printf( $SMTheme->_( 'yearlyarchives' ), get_the_date('Y') );
    
    					/* If this is a general archive */
    					} else { echo $SMTheme->_( 'blogarchives' ); }
    			?></h1>
    			<?php get_template_part('theloop'); ?>
    
    			<?php get_template_part('navigation'); ?>
    
    <?php
    	get_footer();
    ?>

    And how would you integrate a dropdown menu in each category when its listed?

    Hello @mhonolog, have you tried to change the following settings?

    Admin >> CataBlog >> Options >> Public >> Individual Pages Slug: and Category Pages Slug:

    Let me know if this helps you.

    Kind regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Rename category pages from "Blog Archives" to the Catablog category name’ is closed to new replies.