webbhelp
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Images Do Not load properly on Mobile Websiteadd 2 / before the row, makes it as a comment, and it will not be executed:
Like this://wp_enqueue_script('retina');
When you done that, save and test if it still happeneds.
If it doesn’t. Then you found the problem.
Solution: I am saying this without much knowledge of your situation but you may have it disabled and you will not notice any difference.OR
You may try updating to a newer version of retina.But first av all, make it a comment, and tell me if that works =)
Forum: Installing WordPress
In reply to: Images Do Not load properly on Mobile WebsiteOkey, it took a while but no I can see it too. the images is gone.
You have to find what making this happened, before you can solve it.
Try to make the retina.js include as a comment and see if that works.It should be in the functions.php, a line that looks something like:
wp_enqueue_script(‘retina’);Forum: Installing WordPress
In reply to: Images Do Not load properly on Mobile WebsiteI use, samsung galaxy s4, chrome browser.
And there is no problem with the images.Not in androids default browser either.
Maybe only in safari?Forum: Plugins
In reply to: Shortcode does not run, can't figure it outWhen I get the shortcode from get_the_content();
I can see there is a code between the name of the shortcode and the attribute:[shortcode_name attr=”cool”]
Can that be a problem?
what can I do?Forum: Fixing WordPress
In reply to: wp-activate the user cannot activate the accountI found the problem.
I used a get_field (ACF) in the header.php file.
In wp-activation there is no field which could be fetched from the database.
So when the executer got to that row, it stopped and the activation could not execute.Forum: Fixing WordPress
In reply to: wp-activate the user cannot activate the accountI am using a theme I am devoloping by my self.
Forum: Fixing WordPress
In reply to: wp-activate the user cannot activate the accountWhat do you mean with: “what there are you using?”
Forum: Fixing WordPress
In reply to: Theme_location does not workI found one problem:
add_filter( 'wp_nav_menu_items', 'your_custom_menu_item', 10, 2 ); function your_custom_menu_item ( $items, $args ) { if ($args->theme_location == 'primary-menu'){ return '<li id="logo"><a href="'. home_url( '/' ) .'" class="logo"><img src="'. get_bloginfo('template_url') .'/assets/images/logo.png" alt="'. esc_attr( get_bloginfo( 'name', 'display' ) ) .'"></a></li>'. $items; }
I am using a filter to add a
<li>
before the menu is rendered.
This works now because I change to a correct name.But the secondary menu does not show up?
Forum: Themes and Templates
In reply to: Picture background many sizesOk, Thanks!
That’s a good solution, sad to say that the quality cant’ be 100%
But. it’s a good solution…
If I want perfect quality I need to use JavaScript to add classes for each image with different sizes…
Thanks a lot for replying ??
Forum: Themes and Templates
In reply to: Picture background many sizesBecause the blogg is already “running” so… the image that already have been added…
That was bad english I think…
I mean, the author that has write blogposts already, have also add picture, how can I resize them (to good quality)
Either I like that idea to only use one IMG size… but isn’t that to late, or?
Forum: Themes and Templates
In reply to: Picture background many sizesExactly what I want to do.
But to do it, is the hardest thing I think is:
How to add a class to the image different sizes… I very new to WP but I’m good at CSS…
So… how can I add a class for the different image with different sizes…?
I cant add corners because I need to add ID/classes before and after the IMG tag then…
Please I really need to get this work ??
Forum: Themes and Templates
In reply to: Picture background many sizesHehe, impossible to now, wrote he auotmatically ??
Forum: Themes and Templates
In reply to: Picture background many sizesHi, sorry hehe!
I don’t understand to 100% now ??
Say I got 5 images, in different sizes, how can I give the pictures different backgrounds dependence on the image size?
Thanks ??
Forum: Themes and Templates
In reply to: Picture background many sizes*BUMP*
Forum: Themes and Templates
In reply to: Picture background many sizesplease, It is hurry, sorry for “spam posting” but I need help quick ??