How do I prevent page titles (and question titles) appear twice on the forum page ?

7.56K viewsCore
1

How do I prevent page titles and question titles appear twice on the forum page ?

The titles appear twice, one above the other.
When I delete the title in “Base page title” box (via the Options/ Pages page of AnsPress plugin in WordPress) both titles disappear but when I type a new title in again, the title appears twice (one above the other) on my website forum page.

Many thanks

0

In new version there will be an option to disable the titles.

Are yo referring the newly released version or the version is forthcoming? 🙂

We are talking about Github version, also updated to WP SVN (but you need to know force update).

1

Create an page template remove the wp_title
Then chose the page in anspress shortcode page

1

simple solution will be create a php file like:

page-YOUR_PAGE_ID.php

replace YOUR_PAGE_ID with anspress base page ID or SLUG.
and then copy content of page.php to newly created page.
Now find

get_template_part

and simply replace whole function with:

the_contnet()

save and done.

1

Go to Editor and search content-page.php for

<h1 class="entry-title"><?php the_title(); ?></h1>

and replace it with :

<h1 style="font-size:0px;" class="entry-title"><?php the_title(); ?></h1>
1

Hi glennie create a child theme of your theme and remove the_title() in anspress/base.php