Search Results for 'github'

Results from the Forum
daimpa
Participant
#0

Hello, I want to replace the Search Button in the main manu with the FA User image: http://fortawesome.github.io/Font-Awesome/icon/user/

Of course, I want also to hide the search box.

How can I do this?

Thanks once again for your patience, amazin work and support!

Marius
tagDiv Staff

Hi,

Our demo are fine, that website ipadpreview seems doesn’t not provide the correct data, see here another website from where the icons are, fontawesome and the result are the same.

http://ipadpreview.com/previewer?url=http://fortawesome.github.io/Font-Awesome/

Provide me a link with your site to see the issue.

Thanks for the message!

Alberto Bonis
tagDiv Member

I asked in qTranslate-X support forum and they redirect me to the latest development version of the plugin.
It seems to solve the title problem, but not the excerpt one.

Hope this can help
Regards

Lucian
tagDiv Staff

Hi,

1. You need custom modification to add effects to images as the them doesn’t have any options for that. You can also try to find and use a plugin or try to do it yourself or hire a developer/freelancer, if you don’t have any basic css/html knowledge, to helps you with it.
Here you have some examples and tips on how to do this: http://bavotasan.com/2011/amazing-hover-effects-with-css3/
Unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support.

2. You can find a tutorial on how to use them in the readme file under “usage”: https://github.com/kni-labs/rrssb

Thanks

simchris
tagDiv Member

@arved007
I can see your icons just fine in both IE11 and Chrome in Win7/64, all iPad browsers, etc.

Note … I forgot…. I think they are using FontAwesome, which is very common; or custom version of that or custom icon font used in same manner.

e.g., class="td-icon-font td-icon-facebook"

There *is* a known issue, as outlined on the Font Awesome website, that some ad blocker programs may disable the icons for branded icons as being possible ads. This is a well known issue. If you’re using AdBlocker software, you might have to disable that to see the “branded” icons.

See: https://github.com/FortAwesome/Font-Awesome/wiki/Troubleshooting

gazgaz
Participant
#0

installed shop.
when ordering appears incomprehensible code.
Moreover, it appears only in IE.
In Google Chrome’s OK

ie:
http://s017.radikal.ru/i412/1411/d6/7edff2d60762.jpg

google chrome:
http://s57.radikal.ru/i155/1411/c8/cb9203cbeb45.jpg

this is my func file child-theme

<?php

/*  ----------------------------------------------------------------------------
    WordPress booster framework - this is our theme framework - all the content and settings are there
    It is not necessary to include it in the child theme only if you want to use the API
*/
if (!defined('TD_THEME_WP_BOOSTER')) {
	include TEMPLATEPATH . '/includes/td_wordpres_booster.php';
}

//Удаление цветовой схемы
remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );

//Редактирование полей в профиле
function modify_contact_methods($profile_fields) {
    // Add new fields
     //$profile_fields['twitter'] = 'Twitter Username';
     //$profile_fields['facebook'] = 'Facebook URL';
     //$profile_fields['gplus'] = 'Google+ URL';
       $profile_fields['dopplr'] = 'VK';
       $profile_fields['delicious'] = 'Battlelog';
	

    // Remove old fields
	unset($profile_fields['google']);
	unset($profile_fields['evernote']);
	unset($profile_fields['dribbble']);
	unset($profile_fields['digg']);
	unset($profile_fields['blogger']);
	unset($profile_fields['deviantart']);
	unset($profile_fields['forrst']);
	unset($profile_fields['github']);
	unset($profile_fields['googledrive']);
	unset($profile_fields['googlemaps']);
	unset($profile_fields['grooveshark']);
	unset($profile_fields['html5']);
	unset($profile_fields['lastfm']);
	unset($profile_fields['linkedin']);
	unset($profile_fields['myspace']);
	unset($profile_fields['path']);
	unset($profile_fields['picasa']);
	unset($profile_fields['pinterest']);
	unset($profile_fields['posterous']);
	unset($profile_fields['reddit']);
	unset($profile_fields['sharethis']);
	unset($profile_fields['slashdot']);
	unset($profile_fields['spotify']);
	unset($profile_fields['stackoverflow']);
	unset($profile_fields['stumbleUpon']);
	unset($profile_fields['tehnorati']);
	unset($profile_fields['sharethis']);
	unset($profile_fields['addthis']);
	unset($profile_fields['behance']);
	unset($profile_fields['tumblr']);
	unset($profile_fields['viddler']);
	unset($profile_fields['virb']);
	unset($profile_fields['windows']);
	unset($profile_fields['woordpress']);
	unset($profile_fields['zerply']);
	unset($profile_fields['paypal']);
	unset($profile_fields['yahoo']);
	unset($profile_fields['vimeo']);
	unset($profile_fields['rss']);
	unset($profile_fields['soundcloud']);

    return $profile_fields;
}
add_filter('user_contactmethods', 'modify_contact_methods');

//Удаление админбара для всех кроме админа
add_action('after_setup_theme', 'remove_admin_bar');

function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
  show_admin_bar(false);
}
}

//логотип при входе
function my_login_logo(){

echo '

<style type="text/css">

#login h1 a { background: url('. get_bloginfo('template_directory') .'/images/logo.png) no-repeat 0 0 !important; }

</style>';

}
add_action('login_head', 'my_login_logo');

//Теперь нам необходимо сделать так, чтобы логотип ссылался не на сайт wordpress.org, а на наш с вами. 
//Тут тоже особо трудного ничего нет, добавляем всего лишь еще одну строку
add_filter( 'login_headerurl', create_function('', 'return get_home_url();') );

//Всплывающую подсказку что сайт работает на WordPress надо тоже убрать, и добавить свою фразу. 
//Тут нам поможет эта строка:
add_filter( 'login_headertitle', create_function('', 'return "Brothers in Games - Сообщество любителей поиграть вместе";') );

//убрали лого из админбара
add_action( 'wp_before_admin_bar_render', function() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}, 7 );

//убрали ненужные виджеты 
function shailan_remove_dashboard_widgets() {
    // Remove Quick Press Widget
    remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
    // Remove Incoming Links Widget
    remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
    // Remove Recent Comments Widget
    remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
    // Remove Latest Plugins Widget
    remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
    // Remove WordPress Blog Widget
    remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
    // Remove Other WordPress News Widget
    remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
}  
add_action('wp_dashboard_setup', 'shailan_remove_dashboard_widgets' );

//удалили версию из футера админки
function my_footer_shh() {
    remove_filter( 'update_footer', 'core_update_footer' ); 
}
add_action( 'admin_menu', 'my_footer_shh' );

//удалили указание на вп в футере 
function remove_footer_admin () {
echo '';}
add_filter('admin_footer_text', 'remove_footer_admin'); 

//удалили таб помощи сверху
add_action('admin_head', 'mytheme_remove_help_tabs');
function mytheme_remove_help_tabs() {
    $screen = get_current_screen();
    $screen->remove_help_tabs();
}

//убрали метатег из хедера показывающий использование вп
function fjarrett_remove_wp_version_strings( $src ) {
     global $wp_version;
     parse_str(parse_url($src, PHP_URL_QUERY), $query);
     if ( !empty($query['ver']) && $query['ver'] === $wp_version ) {
          $src = remove_query_arg('ver', $src);
     }
     return $src;
}
add_filter( 'script_loader_src', 'fjarrett_remove_wp_version_strings' );
add_filter( 'style_loader_src', 'fjarrett_remove_wp_version_strings' );

//Hide WP version strings from generator meta tag
function wpmudev_remove_version() {
return '';
}
add_filter('the_generator', 'wpmudev_remove_version');

//скрытие пунктов меню слева от посторонних глаз
add_action( 'admin_init', 'my_remove_menu_pages', 999 );

function my_remove_menu_pages() {
    // If the user does not have access to publish posts
    if(!current_user_can('administrator')) {
        remove_menu_page('bsf-dashboard');
	remove_menu_page('wpcf7');
        remove_menu_page('edit.php?post_type=explandict');
        remove_menu_page('tools.php');
    }
}

// get the "author" role object
$role = get_role( 'author' );

// add "organize_gallery" to this role object
$role->add_cap( 'unfiltered_html' );

// убираем инфу о неправильном пароле при входе
add_filter('login_errors',create_function('$a', "return null;"));

// убираем из кода страницы упоминание о Yoast WordPress SEO plugin
add_action('get_header', 'rmyoast_ob_start');
add_action('wp_head', 'rmyoast_ob_end_flush', 100);
 
function rmyoast_ob_start() {
    ob_start('remove_yoast');
}
function rmyoast_ob_end_flush() {
    ob_end_flush();
}
function remove_yoast($output) {
    if (defined('WPSEO_VERSION')) {
        $output = str_ireplace('<!-- This site is optimized with the Yoast WordPress SEO plugin v' . WPSEO_VERSION . ' - https://yoast.com/wordpress/plugins/seo/ -->', '', $output);
        $output = str_ireplace('<!-- / Yoast WordPress SEO plugin. -->', '', $output);
    }
    return $output;
}
davistar
tagDiv Member

I’ve talked to a specialist: Those are not standard meta entries but based on this: https://github.com/farinspace/wpalchemy, making it extremely complicated to migrate. So, I would suggest you guys to use a plugin with standard practices for sources and via, else it could become really expensive if you want to switch, customize or something like this.

  • This reply was modified 11 years by davistar.
mehedi
tagDiv Member

Hey guys,

I was quite busy last month and wasn’t able to work on the development of the plugin. However, I will work on it this week and hopefully I will be able to release an update with the request features. Here is what I will add on the next version (1.2):

  • Settings Panel for the plugin — will let you enable/disable a share button
  • Facebook Share Button
  • Reddit counter
  • CSS Imporvements

Thanks for the support so far! The plugin has more than 110 downloads and it will hopefully increase in the future.

If you’re a developer, you can clone the plugin at GitHub as well 🙂

Lucian
tagDiv Staff

Hi,

Unfortunately the short time doesn’t allow me to test this plugin, you can check here for more info: https://github.com/herewithme/simple-taxonomy or to the support page of this plugin. You might also consider that this may not work properly with this version of WordPress as it hasn’t been updated since 2013-1-4: http://screencast.com/t/GAid459c

Hope this helps!
Thanks

Lucian
tagDiv Staff

Hi,


@Joe
Jerde
Try this https://tagdivdemo.disqus.com/admin/universalcode/ in the td_authors.php file http://screencast.com/t/u6P93hW4
We cannot offer custom work at the moment as we work hard on the development, updates, fixes and support.
You can always get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.


@Christopher

Thanks!
And to answer your question, probably the best way would be to remove this code http://screencast.com/t/EGDnC15e0nyk


@mehedi

As @Christopher writhed we are working hard on the development, updates, fixes and support, you can always get a freelancer if you want to add something new to the theme and don’t know how to or add it issues list on GitHub
Also keep in mind that we have to pick very carefully what we implement as we have may feature requests.

Thanks

simchris
tagDiv Member

Well, nobody is paying them to add new features for your $50 purchase 🙂 It’s nice to ask for things not found in the product as advertised, but they obviously have to weigh in on what takes priority along with dealing with changes to WordPress 3.9 and upcoming 4.0 major launch. If you look at the changelogs you’ll note they’ve added a *lot* of things people asked for which were not part of the theme when you and I bought the product, Mehedi.

Everybody can access the tracking page, so not sure why you can’t see that on Github?

I think they’ve done a great job in implementing things like one click layout installs vs just adding “I want the site in black” when stuff like that can be done with CSS.

Some things like “news ticker” have been on the request list a long time, among others, but they are not the most requested elements.

Asking the developer to “fix this ASAP” when it’s not an issue with the theme, related to a plug-in they don’t manage or develop, is a bit unrealistic.

Right now I’ve come to the conclusion that “commenting out” (pun there, ha ha) the comment count on the author page is best option when using Disqus as it’s not a critical necessity, most people could care less, and better things to do.

I realize you may need it “NOW” — but if it’s that dire, why not hire a developer to sort it for you? would be my thinking.

Anyway…. for those who don’t know how to search this forum, here is the link posted by Radu and crew re the various requests he’s been tracking:
https://github.com/opradu/newspaper/issues

Steven
tagDiv Member

My .htaccess file on my site…WARNING DON’T USED MINE ARE IT WILL BREAK UR SITE..MINE IS LIKE THIS BECAUSE OF OTHER THINGS THAT I HAVE DONE ON MY SITE for safty…

# BEGIN All In One WP Security
#AIOWPS_BLOCK_WP_FILE_ACCESS_START
<Files license.txt>
order allow,deny
deny from all
</files>
<Files wp-config-sample.php>
order allow,deny
deny from all
</Files>
<Files readme.html>
order allow,deny
deny from all
</Files>
#AIOWPS_BLOCK_WP_FILE_ACCESS_END
#AIOWPS_BASIC_HTACCESS_RULES_START
<Files .htaccess>
order allow,deny
deny from all
</Files>
ServerSignature Off
LimitRequestBody 10240000
<Files wp-config.php>
order allow,deny
deny from all
</Files>
#AIOWPS_BASIC_HTACCESS_RULES_END
#AIOWPS_PINGBACK_HTACCESS_RULES_START
<IfModule mod_alias.c>
RedirectMatch 403 /(.*)/xmlrpc\.php$
</IfModule>
#AIOWPS_PINGBACK_HTACCESS_RULES_END
#AIOWPS_DISABLE_INDEX_VIEWS_START
Options -Indexes
#AIOWPS_DISABLE_INDEX_VIEWS_END
#AIOWPS_DISABLE_TRACE_TRACK_START
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
#AIOWPS_DISABLE_TRACE_TRACK_END
#AIOWPS_FORBID_PROXY_COMMENTS_START
RewriteCond %{REQUEST_METHOD} =POST
RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}%{HTTP:HTTP_PC_REMOTE_ADDR}%{HTTP:HTTP_CLIENT_IP} !^$
RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC]
RewriteRule .* – [F,NS,L]
#AIOWPS_FORBID_PROXY_COMMENTS_END
#AIOWPS_FIVE_G_BLACKLIST_START
# 5G BLACKLIST/FIREWALL (2013)
# @ http://perishablepress.com/5g-blacklist-2013/

# 5G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (\”|%22).*(<|>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (javascript:).*(\;) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (\\|\.\./|`|=’$|=%27$) [NC,OR]
RewriteCond %{QUERY_STRING} (\;|’|\”|%22).*(union|select|insert|drop|update|md5|benchmark|or|and|if) [NC,OR]
RewriteCond %{QUERY_STRING} (base64_encode|localhost|mosconfig) [NC,OR]
RewriteCond %{QUERY_STRING} (boot\.ini|echo.*kae|etc/passwd) [NC,OR]
RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|\[|%) [NC]
RewriteRule .* – [F]
</IfModule>

# 5G:[USER AGENTS]
<IfModule mod_setenvif.c>
# SetEnvIfNoCase User-Agent ^$ keep_out
SetEnvIfNoCase User-Agent (binlar|casper|cmsworldmap|comodo|diavol|dotbot|feedfinder|flicky|ia_archiver|jakarta|kmccrew|nutch|planetwork|purebot|pycurl|skygrid|sucker|turnit|vikspider|zmeu) keep_out
<limit GET POST PUT>
Order Allow,Deny
Allow from all
Deny from env=keep_out
</limit>
</IfModule>

# 5G:[REQUEST STRINGS]
<IfModule mod_alias.c>
RedirectMatch 403 (https?|ftp|php)\://
RedirectMatch 403 /(https?|ima|ucp)/
RedirectMatch 403 /(Permanent|Better)$
RedirectMatch 403 (\=\\\’|\=\\%27|/\\\’/?|\)\.css\()$
RedirectMatch 403 (\,|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\”\\\”)
RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$
RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$
RedirectMatch 403 (base64|crossdomain|localhost|wwwroot|e107\_)
RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)
RedirectMatch 403 \.well\-known/host\-meta
RedirectMatch 403 /function\.array\-rand
RedirectMatch 403 \)\;\$\(this\)\.html\(
RedirectMatch 403 proc/self/environ
RedirectMatch 403 msnbot\.htm\)\.\_
RedirectMatch 403 /ref\.outcontrol
RedirectMatch 403 com\_cropimage
RedirectMatch 403 indonesia\.htm
RedirectMatch 403 \{\$itemURL\}
RedirectMatch 403 function\(\)
RedirectMatch 403 labels\.rdf
RedirectMatch 403 /playing.php
RedirectMatch 403 muieblackcat
</IfModule>

# 5G:[REQUEST METHOD]
<ifModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
</IfModule>
#AIOWPS_FIVE_G_BLACKLIST_END
#AIOWPS_PREVENT_IMAGE_HOTLINKS_START
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://jahliveradio\.com [NC]
RewriteRule \.(gif|jpe?g?|png)$ – [F,NC,L]
</IfModule>
#AIOWPS_PREVENT_IMAGE_HOTLINKS_END
# END All In One WP Security

# BEGIN NinjaFirewall (WP+)
<IfModule !mod_php5.c>
<IfModule mod_env.c>
SetEnv PHPRC /home/hxnlfcaw/public_html/.user.ini
</IfModule>
</IfModule>
# END NinjaFirewall (WP+)

# BEGIN HTML5 Boilerplate
# This contains the HTML5 Boilerplate .htaccess that can be found at:
# github.com/h5bp/html5-boilerplate/blob/master/.htaccess
#
# Added:
# Block access to access to WordPress files that reveal version information.
#
# Commented out by default:
# Expires headers: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# ETag removal: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# Start rewrite engine: Handled by WordPress
# Suppress/force www: Handled by WordPress
# Custom 404 page: Handled by WordPress
#
# Anytime you update this file the .htaccess file in the root of your
# WordPress install is automatically updated with the changes whenever
# the permalinks are flushed or set
#
# ———————————————————————-
# Better website experience for IE users
# ———————————————————————-
# Force the latest IE version, in various cases when it may fall back to IE7 mode
# github.com/rails/rails/commit/123eb25
# Use ChromeFrame if it’s installed for a better experience for the poor IE folk
<IfModule mod_headers.c>
Header set X-UA-Compatible “IE=edge”
# mod_headers can’t match by content-type, but we don’t want to send this header on *everything*…
<FilesMatch “\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$”>
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
<FilesMatch “\.(eot|font.css|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
# ———————————————————————-
# Proper MIME type for all files
# ———————————————————————-
<IfModule mod_mime.c>
# JavaScript
# Normalize to standard type (it’s sniffed in IE anyways)
# tools.ietf.org/html/rfc4329
AddType application/javascript js jsonp
AddType application/json json
# Audio
AddType audio/ogg oga ogg
AddType audio/mp4 m4a f4a f4b
# Video
AddType video/ogg ogv
AddType video/mp4 mp4 m4v f4v f4p
AddType video/webm webm
AddType video/x-flv flv
# SVG
# Required for svg webfonts on iPad
# twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# Webfonts
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttf ttc
AddType font/opentype otf
AddType application/x-font-woff woff
# Assorted types
AddType application/octet-stream safariextz
AddType application/x-chrome-extension crx
AddType application/x-opera-extension oex
AddType application/x-shockwave-flash swf
AddType application/x-web-app-manifest+json webapp
AddType application/x-xpinstall xpi
AddType application/xml atom rdf rss xml
AddType image/webp webp
AddType image/x-icon ico
AddType text/cache-manifest appcache manifest
AddType text/vtt vtt
AddType text/x-component htc
AddType text/x-vcard vcf
</IfModule>
# ———————————————————————-
# Gzip compression
# ———————————————————————-
<IfModule mod_deflate.c>
# Force compression for mangled headers.
# http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
# Compress all output labeled with one of the following MIME-types
# (for Apache versions below 2.3.7, you don’t need to enable mod_filter
# and can remove the <IfModule mod_filter.c> and </IfModule> lines
# as AddOutputFilterByType is still in the core directives).
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml \
AddOutputFilterByType DEFLATE application/javascript \
AddOutputFilterByType DEFLATE application/json \
AddOutputFilterByType DEFLATE application/rss+xml \
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject \
AddOutputFilterByType DEFLATE application/x-font-ttf \
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json \
AddOutputFilterByType DEFLATE application/xhtml+xml \
AddOutputFilterByType DEFLATE application/xml \
AddOutputFilterByType DEFLATE font/opentype \
AddOutputFilterByType DEFLATE image/svg+xml \
AddOutputFilterByType DEFLATE image/x-icon \
AddOutputFilterByType DEFLATE text/css \
AddOutputFilterByType DEFLATE text/html \
AddOutputFilterByType DEFLATE text/plain \
AddOutputFilterByType DEFLATE text/x-component \
AddOutputFilterByType DEFLATE text/xml
</IfModule>
</IfModule>
# ———————————————————————-
# UTF-8 encoding
# ———————————————————————-
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset utf-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>
# ———————————————————————-
# A little more security
# ———————————————————————-
# “-Indexes” will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn’t allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# Block access to backup and source files
# This files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch “(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# Block access to WordPress files that reveal version information.
<FilesMatch “^(wp-config\.php|readme\.html|license\.txt)”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# END HTML5 Boilerplate
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# Leverage Browser Caching Ninja — Starts here
# Do not write anything between “Leverage Browser Caching Ninja — Starts” and “Leverage Browser Caching Ninja — Ends”
# It will be deleted while uninstalling Leverage Browser Caching Ninja plugin
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType text/css “access 1 month”
ExpiresByType application/javascript “access plus 1 year”
</IfModule>
# Leverage Browser Caching Ninja — Ends here

simchris
tagDiv Member

What I do is use the links found in my posts under the page speed topic, and just manually minify the main style.css file, and main .js file.

E.g., for CSS:
cssminifier.com

for JS:
http://gpbmike.github.io/refresh-sf/

basically paste the main style.css file into the minifier, then copy and paste the minified version back into the styles file and then upload/over-write main one on the server. Takes 2 minutes. Done.

If you read the other sticky on speed by “Steven”, he has been using a minify plugin that seems to work.

In my case mod_pagespeed minifies my HTML, so don’t have to deal with that. I then use cssminifier to optimize the main css file.

Since I have to do couple of hacks to my functions.php file, and switch on the author name on posts, home page modules, and swap out the field name for view counter to our existing field with EVERY update, it’s not much more work to do the CSS and JS minify on main couple of files each time as well. No plugins needed 🙂

And, another option – if you use GTMetrix to test your site … they can actually spit out “optimized” versions of stuff for you, which is cool.

Just as an anecdote on minification:
minifying the main style.css file will take the size from 286kb to 204kb, as savings of about 80kb, which is actually quite a bit.

  • This reply was modified 12 years by simchris.
  • This reply was modified 12 years by simchris.
  • This reply was modified 12 years by simchris.
simchris
tagDiv Member

1) remove all external loading elements like social media, advertising, recaptcha, and anything which loads css or js as part of its content; anything not part of the theme

2) use the minification tools I’ve suggested in the pagespeed sticky topic – such as online minification tools, or use the GTMetrix optimized versions provided during the site scan

Basically you need to take the CSS and JS files which PageSpeed is saying need to be minified, and then copy those from your theme directory, minify them, then save the minified version over the original.

One tool to minify the CSS is here:
http://cssminifier.com/

or
http://gpbmike.github.io/refresh-sf/

After you have your minified versions, say of style.css you would need to FTP the minified version(s) to your web site into the wp-content/themes/newspaper folder in the appropriate place.

NOTE: you need to clear all caching, turn OFF caching, and then upload the optimized versions, so that the new versions get cached not the old ones.

3) see 2

If you have a page speed of “82”
then be sure to
1) have faster web hosting account
2) ensure that gzip/deflate are working on your server (mandatory!)
3) enable expires headers (mandatory!)
4) optimize your images

All of this is well covered in the PageSpeed sticky topic in the forum. Optimization of your server, content, and htaccess or nginx config files are not part of the theme.

There is no way for you to optimize external content such as AdSense, AddThis, Recaptcha, Disqus, etc. which are not being served on your actual site.

For max speed you will need to use web safe fonts (not Google fonts), and then comment out the fonts in your functions.php file.

  • This reply was modified 12 years by simchris.
Radu
tagDiv Staff

Hi,

I think this is a Woocommerce bug
https://github.com/woothemes/woocommerce/issues/5130

Radu O.

Bryson T
tagDiv Member

This is from the plugin docs on github

=== Envato WordPress Toolkit ===
Contributors: envato, valendesigns, japh
Tags: install, update, api, envato, theme, upgrade
Requires at least: 3.0
Tested up to: 3.3.2
Stable tag: 1.6.2

WordPress toolkit for Envato Marketplace hosted items. Currently supports the following theme functionality: install, upgrade, & backups during upgrade.

== Description ==

According to this the plugin was only tested up to WordPress 3.3.2 and the admin menu in WordPress has been partially overhauled once, and mostly overhauled once since then. Also, it was last updated three months ago meaning before WP 3.9, 3.8.3, 3.8.2 and 3.8.1 were release.

Either way, have you tried contacting the people who made that plugin? They are who provide support for it regardless of whether or not tagDiv tried to make their theme compatible.

Radu A
tagDiv Member

hi,
sorry for misunderstanding, what I have written was not wrong but was not a copy and paste solution.

1) download this package : https://github.com/serbanghita/Mobile-Detect

2) copy the file : http://screencast.com/t/VpXwx0Oh7 here : http://screencast.com/t/ZWuXFw3g0

3) add this code in the function.php file

$detect = new Mobile_Detect;
$deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer');

like here : http://screencast.com/t/8KSWWhcmhNT

4) modify the code in the category.php file

<?php if($deviceType == 'computer') {?>
            <div class="span4 column_container">
                <?php get_sidebar(); ?>
            </div>
        <?php }?>

and


 <?php if($deviceType == 'phone') {?>
                <div class="span4 column_container">
                    <?php get_sidebar(); ?>
                </div>
            <?php }?>

like here: http://screencast.com/t/bGwnf90qhi

Thanks for you message.
Radu A.

Radu
tagDiv Staff

Hi Christopher,

I can hide your name / post count or I can add some kind of badge just let me know. Where did they find your phone number? I can remove your sites from the posts or something.

I also took a look at the resizing issue with wordpress and currently there is no easy solution. I would go with timthumb but envato doesn’t allow it. Also most code that doesn’t use the wordpress api is considered bad practice by envato.

We will try this out:
https://github.com/boobslover/freshizer
https://github.com/bfintal/bfi_thumb
https://github.com/syamilmj/Aqua-Resizer
https://github.com/derdesign/mr-image-resize

This feature will be out in our new theme (as promised you will get it). I don’t have a date yet for the release but hopefully two months. If you want I can send you more details via email 🙂 (we are still working on the backend and design so the theme is not yet functional).

Radu O.

Corcata
Participant
#0

Hello,
The new update is exactly what I was looking at a mega menu with hover effect and link to the category page.
If you want you can take a look at this jquery plugin https://github.com/kamens/jQuery-menu-aim, here is a little more description about it http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown , maybe it will be useful for loading and hover options of mega menu.
At the moment I’m using v3.3 and I have a difficulty with auto-update option via envato toolkit plugin. The plugin is not showing the new update 3.4, please take a look.
Regards

Marius
tagDiv Staff

Hi,
We have all the stuff 99% 🙂 on a github list https://github.com/opradu/newspaper/issues?milestone=none&page=1&state=open


@mbasche
probably your request are there, but as you can see on that list was fulfilled by kind of stuff, one people request, small bugs, etc and effectively we are working full time and the list is more and more bigger. We analyze that list periodically and take from there items that we consider it should be done.

We want to make this much better of course, but we are effectively blocked. Also we want a new site for the support but of course we don’t have time to improve that 😐

Thanks all for supporting us

simchris
tagDiv Member

I think this is good idea and I almost made this very same suggestion yesterday, but then held off as I started to suggest something like Github, but since this is *not* an open source product, the whole element of downloading beta versions, etc., isn’t appropriate.

Still some kind of “developer blog” or forum based on the github/bugtrac-tracwiki (http://trac.edgewall.org/) and similar sites, might be useful containing:
1) current roadmap: to do, in progress, benchmark goals [locked]
e.g.,
3.4 : fix to blah blah, fix to bug track #33, new feature
3.5 : magic bunnies
2) known bugs in “current” version [locked]
3) feature requests – and delete dupes [unlocked]
4) custom code elements (if built for one person put that code someplace if not needed for core) [locked]

where [locked] means only admin can post (the 2 Radu’s and Marius, etc)

This would likely save a lot of repetitive and unrelated to support elements in the “support” forum. Like, oh the request for 1/2 stars. Not really necessary but some people “want” that, even though NOT part of the advertised product.

  • This reply was modified 12 years by simchris.
Marius
tagDiv Staff

Hello,
I’ve added on github to make the compatibility between tagDiv Speed Booster plugin and Revolution slider.

Thanks!

Marius
tagDiv Staff

Hello,
We have it on the github list. We will try to add it in the future.

Thanks for the message!

Marius
tagDiv Staff

Hello,
I will put this on github. We will take a look.

Thanks for the message!

moregoodfoundation
Participant
#0

Is there a way to get breadcrums to show up on pages as well as the category pages? I searched the forum and found this discussion. You mentioned you put it on github but I could not find a link anywhere.
https://forum.tagdiv.com/topic/breadcrumbs-based-on-pages/

Viewing 25 results - 301 through 325 (of 336 total)