如何在osclass的城市页面元标题标签中添加区域?

时间:2016-06-30 15:37:51

标签: php meta-tags osclass meta-title

如何在osclass的city page meta标签中添加区域? 我希望在Osclass中的城市页面的元标题标签中指定区域。 网站网址 - www.pluzs.com/bangalore-c277405 我尝试在function.php中添加区域代码,但区域区域在城市页面的源代码中的元标题标记中显示为空白。 如果有人可以帮助添加要在元标题标签中显示的区域?

1 个答案:

答案 0 :(得分:0)

您必须向" meta_title_filter"添加过滤器。

output = ∅;
maxLengthPaths = ∅;
1. add all edges that vRoot is there source to maxLengthPaths
2. while size(maxlengthpaths) != ∅ do
  (a) paths := ∅;
  (b) extendedPaths := ∅;
  (c) foreach path p in maxLengthPaths do
    i. if (destination of p in vSet)
      1. add p to output 
      2. for each edge e that destination of p is its source
        A. add e to extendedPaths
    ii. else
      1. add p to paths
    iii. for path p1 in paths 
      1. for each edge that destination of p1  is its source
        A. extend p1 by a edge and add it to extendedPaths
  (d) maxLengthPaths = extendedPaths

如果您有城市列表,可以使用正则表达式完成。就目前而言,所有Osclass似乎都在提供。