Comments (16)
Apparently this is not fixed. http://support.astoundify.com/topic/company-name-not-appearing-in-title-on-company-pages/#post-19218
from wp-job-manager-companies.
Closing as works for me.
from wp-job-manager-companies.
This is definitely not working for me, your demo page does not work correctly either: http://demo.astoundify.com/jobify/company/DropBox/ - is it possible to look into it a little further?
from wp-job-manager-companies.
Sorry, our demo was using an old version. It works now using the latest version that is here on GitHub.
from wp-job-manager-companies.
Any hints or suggestions as to why it's not working for me?
from wp-job-manager-companies.
Another plugin might be overwriting it. Are you using an SEO plugin?
from wp-job-manager-companies.
Yes, Yoast - could that be the cause?
from wp-job-manager-companies.
Yes it definitely could be. Try changing the 20
in this line to something high like 9999
https://github.com/Astoundify/wp-job-manager-companies/blob/master/wp-job-manager-companies.php#L83
from wp-job-manager-companies.
Perfect, didn't think about the SEO plugin, I'll check it out. Thank you.
from wp-job-manager-companies.
Thanks again for the pointer - the issue is definitely caused by the Wordpress SEO plugin, when I deactivate it the title displays as intended. I tried increasing the priority, but it had no effect. The only way I can get it working correctley is to modify the code in header.php to something like this:
<title>
<?php
global $paged, $page;
if (get_query_var('company')) {
$company = urldecode( get_query_var( 'company' ) );
$title = get_bloginfo( 'name' );
$title = "$company | $title";
echo $title;
}
else{
echo wp_title( '|', true, 'right' );
}
?>
</title>
I would imagine there will be others using Wordpress SEO, so do you know of any other approach, or is the above the best solution?
Thanks.
from wp-job-manager-companies.
I'll install the plugin and run some tests myself. Surely there has to be some priority where it won't override it.
from wp-job-manager-companies.
If you uncheck "Force rewrite titles" in the Titles section of the settings does that mess anything else up for you? That seems to be what is causing it.
from wp-job-manager-companies.
I've unchecked it, doesn't appear to mess anything up, however the title is still not displaying on company page when that is unchecked. Is that in conjunction with changing the priority or anything else?
from wp-job-manager-companies.
It works for me with the priority set to 20
. Yoast SEO filters it at a priority of 15
so I can't see why it wouldn't be working. It must be some other setting.
from wp-job-manager-companies.
For some reason it wants to set all of the company pages to the same thing as my homepage. I appreciate you looking into it, the hack above does the trick for now, I'll keep poking around in the Yoast setting to see if anything else may be set. Thanks again.
from wp-job-manager-companies.
Also, I'm not using a static front/post page, could that have something to do with it?
from wp-job-manager-companies.
Related Issues (20)
- 404 with WPML HOT 1
- Override Canonical URL HOT 2
- Updates HOT 15
- Update REAMDE
- expired listings should not appear on company profile pages HOT 1
- Company link redirects to an empty page HOT 2
- unable to change "company" from slug
- Polylang Support HOT 2
- Add WordPress SEO Support for Open Graph tags HOT 1
- Duplicate Meta Descriptions for Companies HOT 1
- Company name starts with Numeric, the company is not displayed on the company page. HOT 1
- Company Profile Page
- Company page issue since update to version 1.33.0 HOT 1
- Way to Change URL Format of Single Company Pages? HOT 2
- Company Profile Page Only Shows Up to 10 Jobs HOT 3
- Lack of compatibility with Woocommerce Memberships, causes Fatal Error HOT 2
- Breadcrumbs only working on parent page
- Create companies as regular custom post type
- Does not work with Elementor
- PHP 8.2 issues (PHP Deprecated: Creation of dynamic property)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-job-manager-companies.