Flatpress blog with discord webhook

This is the right place to report general bugs, make suggestions or ask for help.
bttr
Posts: 47
Joined: Tue Mar 22, 2022 9:20 pm
Location: Berlin, Germany
Contact:

Re: Flatpress blog with discord webhook

Post by bttr » Tue May 03, 2022 7:43 pm

Code: Select all

<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Is not in index.php or any other file of the standard FlatPress 1.2.1 distribution.

In fp-interface/themes/leggero/header.tpl I spot:

Code: Select all

<head>
	<title>{$flatpress.title|tag:wp_title:'&laquo;'}</title>
	<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'/>
	{action hook=wp_head}
</head>
But that's not the same.

Atom or RSS2 feeds both have their own Smarty templates. These do not contain the word 'head'.

I second Madekozu's guess "head -> meta -> head" comes from your template or an additional plugin.

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests