johnatanasoff
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: A couple of sanitisation questions@petervandoorn have you tried posting here? https://wordpress.stackexchange.com/
Haven’t done what you are doing and you are a more advanced developer than i am.
Here’s resources that can lead you to a solution:https://jobs.wordpress.net/
https://jetpack.pro/- This reply was modified 7 years, 2 months ago by johnatanasoff.
- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Cannot lengthen box-shadow:Indeed! ??
Forum: Fixing WordPress
In reply to: Cannot lengthen box-shadow:Got ya.
Only now i am getting to know Inspector better.
For applying the shadow in inspector “Elements”, i found the html, in this case the text, and clicking on it gave me the exact css attribute to change. Pretty easy!
But for some reason i wasn’t being able to reduce the shadow width.This code you sent also applies the shadow but it does not size it for each slider text width.
I have a feeling this one’s gonna be a hard one to pin down right?- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Cannot lengthen box-shadow:Yes width! Sorry to have mislead you! I am working on my english.
Your code works! ??What i now need to find out is how to make each shadow the width of the text for each slider.
Onetone support is very unresponsive; but that’s not you guys fault!
One question if possible.
How did you find so quickly “#onetone-owl-slider .owl-item .item .inner .caption ”
was the right id to change?
I went through inspect but could not find the particuar id/class responsible for that.- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Cannot lengthen box-shadow:Steve, sorry! I meant the vertical length of the shadow!
It’s going all across the page and i want it to cover just the text and a bit more.The red arrows mark where i want the background shadow to stop: https://prntscr.com/hw4qxt
” padding-left: and padding-right: ” move the text; whereas what i want is to trim the shadow to the length of the text!
PS: The code i used or your code, both work for the background shadow.
As padding goes, something like this ( padding: 20px; ) is enough for an uniform horizontal length; both top and bottom.Forum: Developing with WordPress
In reply to: A couple of sanitisation questionswp_kses()
https://codex.www.ads-software.com/Function_Reference/wp_kses
https://developer.www.ads-software.com/reference/functions/wp_kses/
https://codex.www.ads-software.com/Function_Reference/wp_kses_allowed_html
https://wp-mix.com/wordpress-basic-allowed-html-wp_kses/ajaxurl
https://eric.blog/2013/06/18/how-to-add-a-wordpress-ajax-nonce/
https://developer.www.ads-software.com/reference/functions/wp_nonce_url/
https://codex.www.ads-software.com/Function_Reference/check_ajax_referer
https://codex.www.ads-software.com/WordPress_Nonces- This reply was modified 7 years, 2 months ago by johnatanasoff.
- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Portfolio not spacing images as before!I won’t need the code as the problem went away! But if i need it i “now” know how to do it ??
The custom css was mostly text related; shadow, color changes etc.
Ye the lines in the map disappeared as well ??
I went rhough a couple of backups and they all were showing same symptoms. Then after many deletions and uploads of WP backups via FTP and database via phpmyadmin, i uploaded the latest, and deleted the rule to forward alfasteel.pt to “https” in .htacess. After the DNS servers served http only and no longer https, i saw the portfolio and map were ok.
I re-added the forward https rule again, and so far so good!Apart from the 3 reasons i mentioned i forgot to say my active theme is a child theme!
I cannot think of another thing causing the problem.If it was css the problem would persist no matter what (i think?); so that’s out of the equation ??
If you don’t have something else to chime in, i will mark thread as solved.
- This reply was modified 7 years, 2 months ago by johnatanasoff.
- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Portfolio not spacing images as before!@alichani After having gone through a few things the problem is solved!
It either was some quirk. Or:
– it had to do with with publishing wordpress with the customizer open which does get the images together! Maybe for some reasons it saved it published it in the database in this state.
– Clearing the browser cache solved it!
– Or the rule to forward site to “https:” in .htacess was messing it for some reason…Cannot think of another scenario.
Cheers for your help!
Forum: Fixing WordPress
In reply to: Portfolio not spacing images as before!@alichani Thanks for helping! Yes you got the problem!
Disabling the code ain’t the best course of action as the code was always there and it worked.
I have a backup i’l try, even though i will have to redo some stuff which will take a while.
If you think of something else let me know! I am getting tired of going back to the backups for a quick fix ??
Forum: Fixing WordPress
In reply to: @import not allowed in Additional CSS@kjodle Will analyse and report back!
Thanks!
Forum: Fixing WordPress
In reply to: @import not allowed in Additional CSS@kjodle Thanks for your help!
I followed this tutorial:
https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/#what-are-child-themes-and-why-use-themAs functions.php is likely not well configured, placing css code in style.css does nothing, so i currently got the extra css again in “Additional CSS” and the same error appears of course.
With functions.php properly configured it should be pulling the css from style.css in onetone_child theme folder right?
I am totally new to php. This is the code i have if you are able to point me to the right direction:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); }
- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Hide theme name from Chrome Development tools possible?Cheers James!
I’l go through this info, and then select the most valuable data and study it!Forum: Fixing WordPress
In reply to: Hide theme name from Chrome Development tools possible?Thanks Steve!
Also thanks for https://wp-root.org/ Very useful!
Will give Underscores a go!
It’s lean and responsive. Should have the backbone; so i make it look and behave the way i want!Forum: Fixing WordPress
In reply to: Hide theme name from Chrome Development tools possible?Thanks a lot for the proof and encouragement!
A lot of these sites have their own theme names so i guess they built their own themes.
I also want that! Your CMS system is awesome so i’d like to stick with it.Which of these you advise me; to build and have full control over my theme; and upgrade it myself?
– https://html5blank.com/
– https://www.initializr.com/
– https://startbootstrap.com/template-overviews/bare/
– https://html5boilerplate.com/- This reply was modified 7 years, 2 months ago by johnatanasoff.
Forum: Fixing WordPress
In reply to: Hide theme name from Chrome Development tools possible?You’re right!
You don’t share your reasons, makes it hard to imagine a use case.
I wanted to hide it from some people i might end up dealing with, regarding web development, as i’m looking to create my own site and expand my portfolio. I want to be seen as a professional web developer, and not just someone who installs a theme and changes text and images in it; which anyone with basic skills can do with a WordPress theme.
I remember reading somewhere about blocking people from accessing source code, but no idea if this is true…
This would be for some specific sites anyway.