The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Strip tags like (% contact %) and {% dynpages %} from meta description - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Strip tags like (% contact %) and {% dynpages %} from meta description (/showthread.php?tid=3397) |
Strip tags like (% contact %) and {% dynpages %} from meta description - sal - 2012-08-01 Several standard plugins, like p01-contact, DynPages and I18N Search use tags like (% contact %) and {% dynpages %} to insert plugins and components into page content but this is output into the meta description. If this can be filtered and stripped by the relevant function in core this will make things a lot tidier without having to manually fill the "Meta Description" field for every page this would occur on. Strip tags like (% contact %) and {% dynpages %} from meta description - yojoe - 2012-08-01 Afair somebody came up lately with a snippet that adds a default description to pages if this field is left empty. Strip tags like (% contact %) and {% dynpages %} from meta description - shawn_a - 2012-08-01 I do not know of a way to fix it besides replacing get_header in your theme with your own function. I wonder if we should add a filter to metad and keywords output, or should desc be run through content filters when its being parsed (substring) from content, but we should make sure we add it to cache after we generate it. I am kind of partial to just adding filters, its easier to implement and users can do whatever they want to these via plugins of course, even dynamically generate it however they want to. |