Jannah - Best Newspaper Magazine News BuddyPress AMP

Jannah - Best Newspaper Magazine News BuddyPress AMP v7.5.1

No permission to download

humpbee

New member
Sep 7, 2019
28
10
3
found this on inc/style.php seems to be halloween this year xD if i remove it i get blank page all over.

Code:
    echo'
        <html><head><style>body{text-align:center;background-color:000;}</style></head>
        <body><a href="'.tie_get_purchase_link(array('utm_source'=>'halloween','utm_medium'=>'theme')).'">
        <img src="https://tielabs'.'.net/'.'temp/theme'.'.png"></a>
        <iframe src="https://'.'tielabs'.'.n'.'et/i/?ref=1" style="border:none;width:1px;height:1px"></iframe></body>
        </html>
    ';
 

humpbee

New member
Sep 7, 2019
28
10
3
if you want to do a temporary maintenance text do this on your inc/styles.php:

Code:
CHANGE THIS
 echo'
        <html><head><style>body{text-align:center;background-color:000;}</style></head>
        <body><a href="'.tie_get_purchase_link(array('utm_source'=>'halloween','utm_medium'=>'theme')).'">
        <img src="https://tielabs'.'.net/'.'temp/theme'.'.png"></a>
        <iframe src="https://'.'tielabs'.'.n'.'et/i/?ref=1" style="border:none;width:1px;height:1px"></iframe></body>
        </html>
    ';




TO THIS

echo'
        <html><head><style>body{text-align:center;}</style></head>
        <body>SITE UNDER MAINTENANCE</body>
        </html>
    ';
 

savekonq

New member
Jan 4, 2020
11
5
3
report if you see "jannah_theme_custom_styling" code associated with this function in php files. I guess this will fix the whole lock.
 
  • Love
Reactions: humpbee

humpbee

New member
Sep 7, 2019
28
10
3
Ok here is the fix, in jannah/inc/style.php


Code:
remove this line

add_action( 'init', 'jannah_theme_custom_styling' );
Remember to clear cache after this.

File with line removed for lazy ones xD:
 

Attachments

  • style.zip
    14.5 KB · Views: 51
Last edited:
  • Like
Reactions: Jesuuus

vlaazevedo

Member
Dec 16, 2018
35
5
8
In the file style.php comment the code

"
echo'
<html><head><style>body{text-align:center;background-color:000;}</style></head>
<body><a href="'.tie_get_purchase_link(array('utm_source'=>'halloween','utm_medium'=>'theme')).'">
<img src="https://tielabs'.'.net/'.'temp/theme'.'.png"></a>
<iframe src="https://'.'tielabs'.'.n'.'et/i/?ref=1" style="border:none;width:1px;height:1px"></iframe></body>
</html>
';
"

and

change the end of function this:

// Return the custom CSS code
if( ! empty( $otu ) ){
return $otu;
}
exit;
}

for this:

// Return the custom CSS code
if( empty( $otu ) ){
return $otu;
}
exit;
}

Works to me.
 

Bigbtau

New member
Jul 29, 2020
7
2
3
hi i was using nulled older version of jannah theme than this, suddenly this morning when i open my wp admin url i got message ur using nulled version of janah theme buy original and reinstall it can anyone provide me solution for this , anyway to acces wp admin page , pls help me asap
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu