noobhome
Forum Replies Created
-
Hi!
I understand what you mean, but it didn’t work.
When I use your CSS media query, titles would turn into font-size: 12px at some point, but they’re just at sizes 160% or 12px. The fact is that some zooms doesn’t fit with this sizes, it should be “a progressive” decrease in the title size.
I applied your CSS to the page so that you can test it.
This is the actual CSS being used:
#envira-gallery-83 .envira-gallery-item span.title { text-align: center; display: block; position: relative; bottom: 100px; font-family: "Open Sans",sans-serif; color: white; font-size: 160%; } @media screen and (max-width: 600px) { #envira-gallery-83 .envira-gallery-item span.title { font-size: 12px; } }
Thank you very much for your time! Wait for ur answer.
Forum: Fixing WordPress
In reply to: Change multiples page's template at onceWow! I’ve just discovered this. Thank you very much, it’ll work. I don’t mind spending 10 to 15 minutes in that, it’s fast enough.
Thank you very much.
Forum: Fixing WordPress
In reply to: Change multiples page's template at onceSorry, maybe I wasn’t clear enough.
I meant I need to change de selected theme of multiple pages. I don’t need to change the theme itself, only change the selected one for another.
Let’s say, I have 100 pages using TEMPLATE B and 200 pages using TEMPLATE A.
What I need to do is to change the template of that 200pages, resulting in all my 300 pages using TEMPLATE B.Forum: Fixing WordPress
In reply to: Change multiples page's template at oncePlease, anyone?
Forum: Fixing WordPress
In reply to: how to edit file since my WP admin is blank?Just enter your cPanel, go to your File Manager and then public_html > wp-content > themes > (YOUR THEME) > functions.php.
Right click, code edit, and fix those wrong code lines.
Forum: Fixing WordPress
In reply to: Media Library – Can't Upload any ImageAre you using WPML (multilanguage)? I think the WPML Media Plugin is giving this kind of problems
Forum: Fixing WordPress
In reply to: New site, don't want it to be found by GoogleThere is a robots.txt file which you can edit to non-index some pages of your site. You can edit it from you public_html folder, and if you don’t find this robots.txt you can create it and place it there.
To check you actual robots file, you should write your url + /robots.txt.
Probably, your actual robots.txt should be:
User-agent: * Disallow: /wp-admin/ Sitemap: https://YOURURL/sitemap.xml
I guess you only need to add this line:
Disallow: /
Forum: Hacks
In reply to: How to order a widget to ignore a function of functions.phpThis variant worked perfectly! (if ( $query->is_home() && $query->is_main_query() ))
Thank you very much, it was really useful.
Any news about this? It’s very important for me, so I’m looking forward to finding a solution.
Thank you.
Forum: Hacks
In reply to: How to order a widget to ignore a function of functions.phpThis is my posts_per_page.php :
<?php /** * Function used to alter the ammount of posts per page * * @package WordPress * @subpackage GoPress WPExplorer Theme * @since GoPress 1.0 */ // Alter portfolio taxonomy posts per page if ( !function_exists('wpex_pre_get_posts') ) { function wpex_pre_get_posts($query) { // Portfolio taxonomy if ( is_tax( 'portfolio_category') ) { $posts_per_page = get_theme_mod('wpex_portfolio_posts_per_page', '12'); $query->set( 'posts_per_page', $posts_per_page ); } } } add_filter( 'pre_get_posts', 'wpex_pre_get_posts' );
Forum: Hacks
In reply to: How to order a widget to ignore a function of functions.phpThank you for answering.
I tried that (if ( is_home() && is_main_query() )) but didn’t work. The widget is still getting multiplied.I didn’t get what was your second advice. Could you explain that? In all my other pages, the post_per_page is set to 999, I did it from the menu (Settings > Reading).
Forum: Fixing WordPress
In reply to: I can't upload any media files my wordpress :(If you are using WPML, I’ve heard that the WPML Media plugin is giving this kind of problems.
Please, I insist if you could help me with that as it’s quite important for my website. I manage good enough with styles but I have problems in this kind of things.
I added the function but nothing happens.
I also use custom fields (Types plugin) for each page. There is a field which is always exactly the same as the category, so I could also make the list get that field instead of the category, if it is easier, but I don’t know how too.
Thank you very much… I would really apreciatte if you could spend 5 minutes with this.
I introduced the function above to my functions.php, but nothing happened.
I tried to F5 and Cntrl+R. Do I need to change something in the code above? I’m a bit frustated with that!
Thanks
Ok, done!
Then, with this function added, where and what should I insert in the plugin?
I mean, in the plugin options –> Output options –> HTML to display after each element of the list?
Or in the custom css?
Sorry I’m still a beginner…
Thank you very much again