<?php
function writeMsg() {
echo “Hello world!”;
}
?>
It looks like the site went down after doing so. It now says ,
“page isn’t working” [ HTTP ERROR 500 ]
Any help on this is much appreciated!!
]]>I’m a newbie in need of help please!
Antivirus I’m running says that these are threats, but I can’t seem to find proper info on the issue. Could someone let me know if they could cause problems and how to fix it?
My themescanner said everything was fine, but antivirus disagrees. My site is in development so haven’t had any issues yet…
epanel/custom_functions.php
if ( is_file( $file ) ) $thumbnail = str_replace( ABSPATH, t ...
$theme_response = unserialize( wp_remote_retrieve_body( $theme_request ) ) ...
AND
/functions.php
$widgets = ob_get_contents();
$posts = ob_get_contents();
$posts = ob_get_contents();
]]>Using a snippet of code I found (here https://diythemes.com/thesis/rtfm/sales-squeeze-landing-pages/) I attempted to remove the header, footer and sidebar of the custom landing page I created by adding that code into the custom_functions.php file as directed. Unfortunately, the phone rang and I ended up inadvertently adding the code snippet twice. Now, this error message is all I can see:
Fatal error: Cannot redeclare custom_remove_defaults() (previously declared in /home/content/a/d/m/adminbrokers/html/wp-content/themes/thesis/custom/custom_functions.php:52) in /home/content/a/d/m/adminbrokers/html/wp-content/themes/thesis/custom/custom_functions.php on line 65
I cannot access the custom_functions.php file nor any other area of my admin section for that matter. And when I try to view my site, that error message is also the only thing that appears now. I have not even logged out because I am afraid I won’t be able to gain access again.
Any ideas?
]]>Parse error: syntax error, unexpected T_STRING, expecting ‘(‘ in /data/22/2/28/87/2517413/user/2757791/htdocs/WordPress/wp-content/themes/thesis_18 2/custom/custom_functions.php on line 55
I’m using the thesis 1.8 theme.
is there a typo in my code or is the tutorial I used to do this totally outdated? Does anyone have a better tutorial for creating an nav bar with images in Thesis Theme?
Thanks…I know I’m in over my head.
here is the code:
Please use a Pastebin to post large chunks of code, following forum etiquette
Below is the code I currently have that’s not working:
[Code moderated as per the Forum Rules. Please use the pastebin]
]]>I have only just, two days ago set up my wordpress site with a Thesis theme. Looked cool, learning to edit it, doing ok…. then I get the
Parse error: syntax error, unexpected ‘.’ in /home/’account_name’/’mysite’.com/wp-content/themes/thesis_17/custom/custom_functions.php on line 33
Now I can’t see my site, or get into my wordpress account.
I have modified the custom_functions.php file with SeedIt and re-uploaded it with FilleZilla (which just confuses me by the way)
Still no love! I am spending WAY too much time trying to figure this out. Should have stuck with my SBI sites i think… WordPress is just way to fiddly and confusing!
HELP?!?!?!?
]]>https://www.rsicarpaltunnelblog.com/wp-content/themes/thesis_17/custom/custom_functions.php
Here is the code:
[Code moderated as per the Forum Rules. Please use the pastebin]
]]>I am getting the following error and cannot even log into my admin panel. I checked the custom_functions.php file on my webhost and don’t see the problem it’s mentioning. How can I fix this?
Parse error: syntax error, unexpected ‘<‘ in /home3/dypadvis/public_html/blog/wp-content/themes/thesis_16/custom/custom_functions.php on line 33
Thanks.
]]>I am new to WordPress and am using it with Thesis theme. I just want some minor customization tips :
1. By default the whole post is showing up on the homepage. I want something like this guy has done www.hasnainzaheer.com Only the title and and few lines from the post and a “Read More” link to the full post?
2. How to add adsense ads in sidebars and within posts ?
3. How to add few fixed pages like “Terms of Use”, Disclaimer etc in the bottom of all pages?
Your help will be appreciated!
With regards,
Neeraj
]]>