Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
9d82e83b
Commit
9d82e83b
authored
Jun 24, 2022
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add initial scheleton for SEO functionality
parent
37d93731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
sexhack_seo.php
classes/sexhack_seo.php
+31
-0
No files found.
classes/sexhack_seo.php
0 → 100644
View file @
9d82e83b
<?php
namespace
wp_SexHackMe
;
if
(
!
class_exists
(
'SexHackSEO'
))
{
class
SexHackSEO
{
public
function
__construct
()
{
do_action
(
'wp_head'
,
array
(
$this
,
'add_meta_tags'
));
sexhack_log
(
'SexHackSEO() Instanced'
);
}
public
function
add_meta_tags
()
{
global
$post
;
// XXX Use post tags for meta keywords, if not available like in pages?
// What to use for description?
}
}
}
$SEXHACK_SECTION
=
array
(
'class'
=>
'SexHackSEO'
,
'description'
=>
'SEO functionality for SexHack'
,
'name'
=>
'sexhackme_seo'
);
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment