CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • No page title in WordPress
Pages: [1]

Author Topic: No page title in WordPress  (Read 752 times)

erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
No page title in WordPress
April 19, 2015, 05:38:01 am
Switched from Drupal to WordPress a few months and noticed that CiviEvent does not display a page title for the browser when an event is viewed in via the Civi URL (as opposed to a shortcode in a WP page). It only displays the site name.

Example: http://bikewalkkc.org/?page=CiviCRM&q=civicrm%2Fevent%2Finfo&reset=1&id=16838

Am I missing a setting somewhere?


Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: No page title in WordPress
April 19, 2015, 07:31:02 am
You should have seen it before ;)
I just fixed most page titles, before 4.6 there was nothing.
This was the fix, maybe more is needed for front-end pages?
https://github.com/civicrm/civicrm-wordpress/pull/71
Try asking your question on the new CiviCRM help site.

erogers

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.1
  • MySQL version: 5
  • PHP version: 5
Re: No page title in WordPress
April 19, 2015, 08:40:48 am
So this is a bug that a developer needs to fix?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: No page title in WordPress
April 19, 2015, 12:49:01 pm
It appears that yes setting header titles has not yet been implemented for front-end pages and yes doing so would involve adding a bit of code to CiviCRM (probably very similar to the patch above). If you or anyone else wishes to work on this feature I'd be happy to help you get started.
Try asking your question on the new CiviCRM help site.

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: No page title in WordPress
April 20, 2015, 07:00:52 am
@erogers This issue could be caused by the code your theme uses to display the page title (there are numerous ways to do this). If you can post the relevant code here, it would help greatly.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: No page title in WordPress
April 20, 2015, 08:20:50 am
Ah thanks @haystack.
I take it back, the feature has been implemented and appears to work correctly, e.g. http://wp46.demo.civicrm.org/civicrm/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=1
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • No page title in WordPress

This forum was archived on 2017-11-26.