Because the array $category is not in global list,
you can use it like this:
if ($GLOBALS['category']['Key'] == 'room_for_rent') {
$image = RL_PLUGINS_URL ....
Type: Posts; User: Rudi
Because the array $category is not in global list,
you can use it like this:
if ($GLOBALS['category']['Key'] == 'room_for_rent') {
$image = RL_PLUGINS_URL ....
Put the condition for category to the first place like:
if ($category['Key'] == 'room_for_rent') {
$image = RL_PLUGINS_URL . 'socialMetaData/meta_images/' . 'room_for_rent.png';
} elseif...
Hello Wei,
before the line if ($image) {
add your code:
if ($page_info['Key'] == 'car_for_sale') {
$image = RL_PLUGINS_URL . 'socialMetaData/meta_images/' ....
You can try this:
go to plugins > socialMetaData > rlSocialMetaData.class.php
find:
default:
// add custom logo for all pages except listing details
...
Hello Wei,
If you use Social Meta Data plugin you can set it in Basic Settings > Social Meta Data > Logo name