Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
lookarab
tagDiv Member

I wanted to activate the slow loading of external images
Lazy Load does not work with off-site topic images

lookarab
tagDiv Member

Try this in a file functions.php

add_filter('comment_form_default_fields', 'mytheme_remove_url');

function mytheme_remove_url($arg) {
$arg['url'] = '';
return $arg;
}

lookarab
tagDiv Member

http://www.tagdiv.com/?amp
put a mark ? This format will work

This is for pages only

  • This reply was modified 7 years by lookarab.
lookarab
tagDiv Member

It works like this
https://checknaija.com/?amp

lookarab
tagDiv Member

It has been sent the site data

Thank you

lookarab
tagDiv Member

First, thank you for your interest
The problem with rtl only with Firefox browser and there is no any addition incompatible with the disappearance of the pictures in Smart Lists.

When converting the site into English Please choose a work well, but with the Arab Please choose a not working on Firefox

Is there a solution and Thanks

lookarab
tagDiv Member

Has been returned to the backup site, but I do not know how it happened is the same problem Modaa and delete media files and pages but the location works well now

Thank you for your attention

lookarab
tagDiv Member

We have the same problem

http://www.3bia.com/

lookarab
tagDiv Member

I have been edited on the file index.php
It seems true now

<?php ini_set('display_errors', 0); ?>
<?php
if (function_exists('get_header')) {
get_header();
}else{
/* Redirect browser */
header("Location: http://" . $_SERVER['HTTP_HOST'] . "");
/* Make sure that code below does not get executed when we redirect. */
exit;
}; ?>
<?php
//set the template id, used to get the template specific settings - this was the old home.php template
$template_id = 'home';

//prepare the loop variables
global $loop_module_id, $loop_sidebar_position;
$loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 15); //module 1 is default
$loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)

// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}
?>

<div class="td-main-content-wrap">

<div class="td-container td-blog-index <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_home_breadcrumbs(); ?>
</div>
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content">
<div class="td-ss-main-content">
<?php
locate_template('loop.php', true);
echo td_page_generator::get_pagination();
?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;

case 'sidebar_left':
?>
<div class="td-pb-span8 td-main-content <?php echo $td_sidebar_position; ?>-content">
<div class="td-ss-main-content">
<?php
locate_template('loop.php', true);
echo td_page_generator::get_pagination();
?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;

case 'no_sidebar':
td_global::$load_featured_img_from_template = 'full';

?>
<div class="td-pb-span12 td-main-content">
<div class="td-ss-main-content">
<?php
locate_template('loop.php', true);
echo td_page_generator::get_pagination();
?>
</div>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div> <!-- /.td-container -->
</div> <!-- /.td-main-content-wrap -->

<?php
get_footer();

Thank you again

lookarab
tagDiv Member

Thank you for your words correctly

Recent amendments are already in the file, which is this code

<?php ini_set(‘display_errors’, 0); ?>
<?php
if (function_exists(‘get_header’)) {
get_header();
}else{
/* Redirect browser */
header(“Location: http://&#8221; . $_SERVER[‘HTTP_HOST’] . “”);
/* Make sure that code below does not get executed when we redirect. */
exit;
}; ?>

Is there another code to guide this page because it gives mis link

http://www.lookarab.com/wp-content/themes/lookar/

Thank you again

lookarab
tagDiv Member

Sorry I’ve been to solve the problem yesterday after upgrading your new css file for the new version of the newspaper

Thank you

lookarab
tagDiv Member

Thank you

lookarab
tagDiv Member

I know this step, but I do not want the development of the (/) or used
Is there another solution?

Thank you

lookarab
tagDiv Member

I hope to help as soon as 🙁

Thanks

lookarab
tagDiv Member

I’ve been update I did not find problems

http://goo.gl/7SjeNa

lookarab
tagDiv Member

It has been modified the afterlife

Thank you

.td-icon-left:before{content:’\e803′;}
.td-icon-right:before{content:’\e802′;}

lookarab
tagDiv Member

How edit page Newspaper 6

lookarab
tagDiv Member

Haven’t upgraded until now.
Somewhat afraid because he does not support rtl

lookarab
tagDiv Member

yes set the featured image and show

post style 4 Link here for preview
http://goo.gl/bPI5B3

Thanks!

  • This reply was modified 11 years by lookarab.
lookarab
tagDiv Member

Did you solve this problem

I think it’s in the file .htaccess

<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>

# END WordPress

AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers

# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers

<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

lookarab
tagDiv Member

Please help I can not do anything

Viewing 25 posts - 1 through 25 (of 25 total)