Auto place meta template with php #14

Open
opened 2023-07-15 17:04:46 +03:00 by asandikci · 0 comments
Owner

Instead of:

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="Main Page">
  <meta name="keywords" content="personal,website,mainpage,main">
  <meta name="author" content="Aliberk Sandıkçı">

use php vars or functions to place meta informations
$viewport=(device-width,1.0)
$desc="Main Page"
$keywords="personal,website,mainpage,main"
$author="Aliberk Sandıkçı"

also use this on other meta tags and OG meta tags

This allows making lines shorter and keeping a simle template

Instead of: ```html <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Main Page"> <meta name="keywords" content="personal,website,mainpage,main"> <meta name="author" content="Aliberk Sandıkçı"> ``` use php vars or functions to place meta informations $viewport=(device-width,1.0) $desc="Main Page" $keywords="personal,website,mainpage,main" $author="Aliberk Sandıkçı" also use this on other meta tags and OG meta tags This allows making lines shorter and keeping a simle template
asandikci added the
enhancement
label 2023-07-15 17:18:47 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: asandikci.com/www#14
No description provided.