fl5x
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is it okay to remove wp-image-number from img class””?I found a solution.
function image_tag_class($class, $id, $align, $size) { return 'align' . $align . ' size-' . $size; } add_filter('get_image_tag_class', 'image_tag_class', 0, 4);
Forum: Fixing WordPress
In reply to: Is it okay to remove wp-image-number from img class””?Thanks Steve. There’s must be a way to prevent WordPress from adding wp-image-number for each image. Any clue?
Forum: Fixing WordPress
In reply to: Is it okay to remove wp-image-number from img class””?If there was something assigned to that class in my theme, it should be independent of the web browser, shouldn’t it?
It’s a bit of a pain if I have to modify the code every time an image is displayed. Do I have any other option? If I don’t, what’s the purpose of wp-image-number?
Forum: Fixing WordPress
In reply to: Is it okay to remove wp-image-number from img class””?There you go:
https://www.fqm302.es/blog/?p=2899
I’ve just realized it depends on the web browser. Both images look the same with Internet Explorer and Chrome however they look different with Firefox and Edge.- This reply was modified 5 years, 7 months ago by fl5x.
Forum: Themes and Templates
In reply to: [Twenty Sixteen] Subscript and superscrits seem to be swappedThat is what I was looking for! Thanks leoprast1967.
Well, the thing is that after publishing some posts both categories and tags seem to be working properly. Weird.
To show categories:
Dashboard > Appearance > Widgets > Primary Widget Area > Show hierarchy
I haven’t found the way to show tags or just parent categories.
Any ideas?
I have the same annoying problem but I don’t understand very well the workaround. Should I replace the code in wp-includes\category-template.php with this:
$categories= get_categories(‘hide_empty=0′); foreach ($categories as $category) { $option = ‘ # term_id ).’”>’; $option .= $category->cat_name; $option .= ‘ ’; echo $option; }
From where to where?
Thanks