Support » Plugin: IssueM » Changing "Current Issue" heading

  • After navigating to past issues, and selecting a past issue, the correct content appears. The heading, however, reads “Current Issue”. This can even be seen on the demo sites:

    Current Issue

    Is it possible to get the header to read something else (like the issue name), instead of “Current Issue”? I’m okay with editing the PHP in a child theme, but can’t quite figure this out.

    https://wordpress.org/plugins/issuem/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremy Green

    (@endocreative)

    In the demo, “Current Issue” is the page title. If you remove the page title and just output the issue title, then that would accomplish what you are looking for.

    You can output the current issue title with the [issuem_issue_title] shortcode.

    Jeremy, Either you don’t understand the question or I don’t understand your answer. Your last sentence mentions outputting the current issue title.

    What amandarb was asking about (and me too) is that the sidebar displays a small print categorical header “current issue” above and below the default image BUT the text is for the archived issue (which is correct; the widget is working to call and display that).

    What I want to know and I think the first poster wants to know is how to either get rid of that small print current issue header or make it agree with the archived date.

    OK, got it–DUH! Leave the title blank in the active issue widget.

    cabbagefrond

    (@cabbagefrond)

    Would you mind explaining it like I’m five? I’m still missing something.

    When I change the title in the blank post to the shortcode, it literally prints out the shortcode on top of every page, including the square bracket. If I leave the page title blank and put the shortcode in the body, it prints “Untitled” on the top of every issue page.

    Tips?

    Thanks!

    georgiawebgurl

    (@georgiawebgurl)

    As a quick & dirty workaround, I just changed the CSS color in my theme to match the background for the widget title, essentially rendering it invisible to the eye but still visible to search engines. I don’t have time to dig around in the files a lot right now, but if I revisit this in the future, I’ll let you know how I fix it. I would just like to suppress the “current issue” header which would seem doable by commenting out. I just need to find the bit of code to comment out.

    Sorry for taking so long to follow up! I got most of the way there. I put the short code in the header element for the child theme. Using a child theme for activello, I updated content-page.php line 14 to read:

    <h1 class="entry-title"><?php
    echo do_shortcode('[issuem_issue_title]');
    ?>
    </h1>

    That put the correct heading everywhere except the archive page, and stand alone pages that exist outside the template (Submit Articles/About/etc.) Any tips on how to address that? Is there a better place to put the issuem shortcode?

    In the meantime I changed the template to read:

    <h1 class="entry-title"><?php the_title(); ?><?php
    echo do_shortcode('[issuem_issue_title]');
    ?></h1>

    to list both the current issue and the page heading, as a temporary work-around.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing "Current Issue" heading’ is closed to new replies.