fltseng
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Subdomain setup works – except for the subdomain I wantThat’s the weirdest. It seems to have resolved itself all of a sudden. Thanks for checking and notifying me, Curtiss!
Forum: Plugins
In reply to: $suffix in Media.phpNot weird at all… I’d really love to hear the solution for this one as well. I suspect it can be done by using filter + action hooks, but the code I’m working on is really not doing it properly… this is what I’m working on so far in my functions.php:
function change_image_suffix($suffix) { if ($size == 'thumb' || $size == 'thumbnail') { $suffix = '.thumb'; } elseif ($size == 'medium') { $suffix = '.medium'; } elseif ($size == 'large') { $suffix = '.large'; } else { $suffix = ''; } return $suffix; } add_filter('image_resize','change_image_suffix');
I’m really sure there must be something fundamental missing here… I’m not a great coder, and all I can do is google-research the hell out of my code… and if it’s not in the google-sphere, then I will also never know, unfortunately.
This naming convention would make things SO MUCH EASIER when automating the display of images according to size-standards rather than size… any help would be very very appreciated!!!
Fei
Forum: Themes and Templates
In reply to: White background not showing upSolved it, the problem was a stray div tag in one of the php-includes that needed closing. Which should be a rule: to never put the beginning of a div in one php file and the end of it in another file. Makes it way too confusing for other people!!!!
Best,
FeiForum: Themes and Templates
In reply to: help with picture pleaseok, dude… I installed the theme on my server and the first thing I see next to the Theme Editor option is: IKARUS Options and README
In the README, it describes EXACTLY what I told you to do, which is to go to the custom field and change the values there in order to change the featured image on your news section. It has pictures and everything, describing how you gotta do it. Is this what you’re looking for?If it isn’t then I really don’t know what it is that you want to do… and please read the information provided with the theme before posting, usually they answer all the questions there on how to operate the theme.
To change the Magazine Style Post image, use: featured-image
To change the Sidebar Featured Post image, use: featured-imagesLemme know if this is helpful at all…
Forum: Themes and Templates
In reply to: help with picture pleaseYes I understand… and this you can only change if you do as I told you in the first reply, which is to go to that particular post and edit the custom field which is in your post. Go to Dashboard > Manage > click on the post that is your news item > scroll down until you see a bar called “Custom Fields” > click it and edit the values there. I don’t know what you have to edit it into, but your theme maker should have given instructions on this. What theme are you using?
Forum: Themes and Templates
In reply to: How to increase the central viewing area?Heya,
I -think- (I haven’t been able to check this) if you scroll further down in your style.css page, you’ll see this entry at some point:
#page { background-color: white; margin: 20px auto; padding: 0; width: 760px; border: 1px solid #959596; }
My guess is that this is the width you’re looking for.
Let me know if it was good?
Forum: Themes and Templates
In reply to: Editing 2 Columns of Content on One PageWith css you can make 2, 3 or as many columns as you want… using div tags and floating them to the left is the most basic way to make columns.
Simple code:
<div style="float: left; width: 200px; height: 300px; border: 1px solid #333; padding: 10px; margin: 5px;">Column 1</div> <div style="float: left; width: 200px; height: 300px; border: 1px solid #333; padding: 10px; margin: 5px;">Column 2</div>
Just copy paste this in your page, change the width to something a little less than half the width of the total width of the page (less than half to accomodate for the padding and margin), and it should just float in place. If they appear under each other, reduce either the width, padding or margin, whatever you like. A good css tut for this: https://www.yourhtmlsource.com/stylesheets/cssspacing.html
Hope this was useful!
Forum: Themes and Templates
In reply to: How to hide post details & Picture on Index?It would help a lot if you tell us where your site is located… I can only guess it’s how the post formatting in the loop is done on your index.php page. You’re gonna have to take a look at it in the theme editor and fix it from there.
Hope this helps, can’t provide much info as there’s no code to look at…
F
Forum: Themes and Templates
In reply to: help with picture pleaseHey man,
I found this in your site code:
<!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED --> <img src="https://aotronivel.net/site/wp-content/themes/Ikarus/images/no-featured-image.jpg" alt="" />
Which means that there probably is a custom field on the post that needs to be filled in order to remove/replace it. The custom fields are to be found under the textbox of the post itself when you’re editing it in the dashboard. The theme you’re using should have further instructions about this, but it’s definitely a custom field thing. Consult your theme maker for instructions ??
Hope this helps!
Forum: Themes and Templates
In reply to: Different Sidebars for different pages?Not being a coder myself either, I have however been working on the same issue for a day or two now. I’ll copy-paste the code that works for me at the moment:
<?php $post = $wp_query->post; if ( in_category('4')) { include ('sidebar-classes.php'); } else if ( in_category('5')){ include ('sidebar-kits.php'); } else if ( in_category('0')){ include ('sidebar.php'); } ?>
I can imagine it’s the small differences that PHP ticks on, like how you’ve written elseif together instead of separate. Further than that, I cannot really provide any further assistance (PHP is foreign to me really), but I hope this code might help?