twentytwelveuser
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Hotlink File Prevention] Active for all ImagesI’ve done it manual:
# verify presence of mod rewrite <IfModule mod_rewrite.c> RewriteEngine on # Disable nginx Allow from all # allow all requests from your domain RewriteCond %{HTTP_REFERER} !^https://your\.site\.ru/ [NC] # search engine access # include or remove search engines feed readers and other sites RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !yandex\. [NC] # everybody else receives a forbidden RewriteRule \.(gif|png|jpeg|jpg|svg)$ - [F] </IfModule>You have to change your.site.ru and delete lines with nginx (if don’t need them)
- This reply was modified 1 year, 12 months ago by twentytwelveuser.
Forum: Plugins
In reply to: [Hotlink File Prevention] Active for all ImagesI wish to know the same.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Remove Meta from TAG archivesok, thank you! I added IF statement to use the code everywhere except TAG:
function twentytwelve_entry_meta() { if (!is_tag()) { // twentytwelve_entry_meta() body from parent }- This reply was modified 2 years, 3 months ago by twentytwelveuser.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Remove Meta from TAG archivesBut I need to remove it with hooks. What hook is there in TwentyTwelve?
I don’t want to use CSS. And I want to hide post meta ONLY from tags archive.
Viewing 4 replies - 1 through 4 (of 4 total)