ragulin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sporty] PRoblem with SPorty after transfer at another hostingProblem solved, caused by wrong code in functions.php in my child theme. I had twide php opener in the file..like this:
<?php code ?> <?php code ?>
Answer found at stack
Forum: Plugins
In reply to: [WP Responsive Recent Post Slider/Carousel] Size of the text windownvm, got it.
If someone looks for the solution in future:
.recent-post-slider.design-3 .post-short-content { height: 30%;}
Forum: Plugins
In reply to: [WP Responsive Recent Post Slider/Carousel] The shortcode in PHP doesnt workThanks
Forum: Developing with WordPress
In reply to: acessing PHP library in functions.phpOkay, my code in functions.php
function foobar_func( $atts ){ require_once('ftp://[email protected]/www/wp-content/themes/sporty-child/simple_html_dom.php'); $html = file_get_html('https://hokejbal.cz/1-liga/tabulky/'); $ret = $html->find('table.standings', 1); print $ret; } add_shortcode( 'foobar', 'foobar_func' );
And errors I get when I try to call the function via shortcode in my page
Warning: require_once(): ftp:// wrapper is disabled in the server configuration by allow_url_include=0 in /web/htdocs2/skkelticz/home/www/wp-content/themes/sporty-child/functions.php on line 11 Warning: require_once(ftp://[email protected]/www/wp-content/themes/sporty-child/simple_html_dom.php): failed to open stream: no suitable wrapper could be found in /web/htdocs2/skkelticz/home/www/wp-content/themes/sporty-child/functions.php on line 11 Fatal error: require_once(): Failed opening required 'ftp://[email protected]/www/wp-content/themes/sporty-child/simple_html_dom.php' (include_path='.') in /web/htdocs2/skkelticz/home/www/wp-content/themes/sporty-child/functions.php on line 11
- This reply was modified 7 years, 7 months ago by Steven Stern (sterndata). Reason: put code in backticks
- This reply was modified 7 years, 7 months ago by ragulin.
Forum: Developing with WordPress
In reply to: acessing PHP library in functions.phpok, so it would be the FTP path?
Forum: Themes and Templates
In reply to: [Elicit] Change of FontsThank you, but this doesn’t work as well…:)
Forum: Themes and Templates
In reply to: [Sporty] URL change^
Forum: Themes and Templates
In reply to: [Sporty] URL changeFrom beginign, my posts had this format:
https://skkelti.cz/2016/11/post-nameThen I changed it on:
https://skkelti.cz/2016/11/post-IDNow I wanna change it back on the first variation, because it is better for SEO and stuff like that. Problem is, that all pages which have made hypertext on our post (including our FB,YT etc) will have broken URLs which will be ending on 404. Can I change somehow just some URLs, or how can I solve it?
- This reply was modified 8 years, 4 months ago by ragulin.
The pop up window started working after aome time. I dont know what was going on, but it worked only in chrome. I use some cache plugin,.so it might have been some of these circumstances. Thank you for reply and i mark it as a solved topic for
Forum: Themes and Templates
In reply to: [Sporty] Line between site logo and menuThanks man, I just looked in the topic and noticed your answer. I bet I have already solved it, anyway thanks for answer =)
Forum: Themes and Templates
In reply to: [Clean Box] Problem with translateWell, over here is written that it is translation ready…but I cant translate it…what plugin or how should I translate it? Thanks
Forum: Themes and Templates
In reply to: [Sporty] DIsplay of category list in menuSolved, I had to remove -archive- stuff from the URL
Forum: Plugins
In reply to: [Lightweight Social Icons] My own icon (overwriting default?)No, I didnt ??
Forum: Themes and Templates
In reply to: [Sporty] Creation of child theme problemThe problem was in the Template line, thank you for advice.
Forum: Themes and Templates
In reply to: [Sporty] Update of theme without childthemeWhat can I do if I dont remember all my custom changes?