Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter 39images

    (@39images)

    Editing my content-page.php file is the only thing that seems to produce a result, except all it does is show the page with all the content missing. This is the code for that page:

    <?php
    	global $post;
    	theme_post_wrapper(
    		array(
    			'id' => theme_get_post_id(),
    			'class' => theme_get_post_class(),
    			'title' => theme_get_meta_option($post->ID, 'theme_show_page_title') ? get_the_title() : '',
                            'content' => theme_get_content()
    		)
    	);
    ?>

    You suggested that I post this code before the title line. So should it look like this?

    <?php
    	global $post;
    	theme_post_wrapper(
    		array(
    			'id' => theme_get_post_id(),
    			'class' => theme_get_post_class(),
    <?php if( in_category( 'book-reviews' ) ) { ?>
    <img src="https://www.midnightpalace.com/wp-content/uploads/2012/12/bookreviews.png" />
    <?php } elseif if( in_category( 'film-reviews' ) ) { ?>
    <img src="https://www.midnightpalace.com/wp-content/uploads/2012/12/filmreviews.png" />
    <?php } ?>
    			'title' => theme_get_meta_option($post->ID, 'theme_show_page_title') ? get_the_title() : '',
                            'content' => theme_get_content()
    		)
    	);
    ?>

    did asking at the artisteer forum result in any suggestions?

    https://www.artisteer.com/?p=forum_topics&forum_id=13

    from the point of php syntax, your last code is invalid; you cannot add an if statement into the content of an array the way you tried.

    Thread Starter 39images

    (@39images)

    So far, no answer over there. I know I’m being a pain here, but I would really appreciate if you could give me the exact code that I need to have on my content-page.php file. I’m a novice when it comes to this stuff, php syntax, etc.

    I’m sorry but the www.remarpro.com support forums are meant for the core application, themes and plugins that are distributed on www.remarpro.com.

    Thread Starter 39images

    (@39images)

    Sorry for wasting your time.

    Thread Starter 39images

    (@39images)

    I’m reviving this because I’ve still gotten nowhere with it ?? No matter what I do, the category won’t display on the post at all, much less above the title. I’ve asked on the Artisteer forums and didn’t even get so much as a “drop dead.” Just no response at all. Can someone PLEASE help me?

    esmi

    (@esmi)

    I’m sorry but we do not support Artisteer themes here.

    Thread Starter 39images

    (@39images)

    Wouldn’t this be a WordPress issue though and not an Artisteer issue?

    esmi

    (@esmi)

    No – its a theme issue.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Stylish way to display category title?’ is closed to new replies.