Paweł
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [The Bootstrap Blog] Custom Taxonomy Page TemplateHi.
Sorry for long delay.
I think you have a view options.
- Create a child theme and make your own modification – this give you more freedom of change
- You can always use Custom Post Template – create seprate file for that Custom Taxonomy e.t.c.
The place you are looking for in the code, the source of the header is in the
template-tags.phpfile, line 19 or 55. Those two functions:the_bootstrap_blog__site_title or the_bootstrap_blog__site_description
You didn’t provide me any better feedback so I can’t be sure, what it is exactly, so I assume it is that second line – 59.
Condition check if its archive, and then display
the_archive_title();To modify the operation of this function, you will have to use a plug-in or filter. See: doks. Or just replace it in new, child theme.
Then, functions are placed in header.php file, within line 61 – 66.
Forum: Themes and Templates
In reply to: [The Bootstrap Blog] Larger YouTube embeds possible?Hi @melorama
Sorry for this delay. I work offshore and don’t have much time for other things.
Quick solution.
Because that theme is Bootstrap base (style and html side) you can do something like this: use shortcode to generate those video instead of just placing yt link.
I wrote simple plugin to extend theme features.
You can download it from GitHub:
https://github.com/mrpauloen/znacznik-youtube#znacznik-youtube
I’ve done it because I wanted to make a video gallery so there is some catch which you need to now about.
To manipulate thumbs size you need to change classes in 113 line, on
znacznik_youtube.phpfile:eg.: You have this
output = '<figure class="col-6 col-sm-4 col-md-3 ' . esc_attr( $float ) . '">' . "\r\n";Try to change col-6 col-md-4 to meet your criteria.
If you not familiar with Bootstrap grid, see this documentation:
https://getbootstrap.com/docs/4.0/layout/grid/
This is Bootstrap 4.
Do not hesitate to ask any questions if you’ll have any difficulties.
Cheers
Forum: Themes and Templates
In reply to: [The Bootstrap Blog] Text for Previous post button wrongI’ve just released new version of the theme. Please update for your convenience.
Cheers!Forum: Themes and Templates
In reply to: [The Bootstrap Blog] Text for Previous post button wrongOk.
I plan to release a new version soon, so this patch will be there too.Cheers!
Forum: Fixing WordPress
In reply to: How to Edit Html code in wordpressThere is various methods of that.
You can use plugins, add shortcode or use
Theme Customization API.As well as there is various methods of editing HTLM code. Either you do that from admin panel or by FTP (which is most recommended).
But most important question is:
What do you want to achieve?You need to specified that question.
Forum: Developing with WordPress
In reply to: have_posts() inaccurate outputYou need to include whole loop.
In this article you can find everything you need:
The LoopP.s. you use wpautop in wrong context. If you want to output/echo some strings, you should use localize function like this:
Escaping with LocalizationForum: Reviews
In reply to: [WP Less is More] best themeYou’re welcome 🙂
Forum: Themes and Templates
In reply to: [WP Less is More] How to have comments show by defaultThis is how the contents of the
comments.phpfile should look like: https://pastebin.com/zUf0CKX6Do you have the same? Can you show me what did you do?
Forum: Themes and Templates
In reply to: [WP Less is More] How to have comments show by defaultIn
comments.phpfile, in this block (on line 152):<div id="collapseListComments" class="panel-collapse collapse <?php echo wp_less_is_more__collapse_comments_list(); ?>" role="tabpanel" aria-labelledby="collapseListComments" aria-expanded="true">remove this function:
wp_less_is_more__collapse_comments_list();so you should get something like this:
<div id="collapseListComments" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="collapseListComments" aria-expanded="true">Forum: Themes and Templates
In reply to: [WP Less is More] How to have comments show by defaultThere is a function on line
152incomments.phpfile called:wp_less_is_more__collapse_comments_list ()that determines whether the list of comments is displayed or hidden.There are several conditions that determine whether comments are collapsed or not (please read that function description on line
713to736infunctions.phpfile).At this time just remove that function and place there:
in, as an additional class.So, for example, now you have this:
<div id="collapseListComments" class="panel-collapse collapse <?php echo wp_less_is_more__collapse_comments_list(); ?>" role="tabpanel" aria-labelledby="collapseListComments" aria-expanded="true">And you should have that:
<div id="collapseListComments" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="collapseListComments" aria-expanded="true">Be aware that this is a class selector and you should be careful to close it properly.
For future I will consider adding this option to the customizer or removing it from the code, if it is unnecessary.
You decide.Cheers! 🙂
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 – subject generating ID of requestForum: Networking WordPress
In reply to: Subdomain 404 ErrorHave you have set wildcard domain?
Forum: Fixing WordPress
In reply to: How do I change my URL? Please help!You have to update your site URL’s with update_site_url function by placement it in wp-config.php file.
See: https://codex.ww.wp.xz.cn/Changing_The_Site_URL for more info.Forum: Themes and Templates
In reply to: [WP Less is More] Post Area not respondingI uploaded new version of theme with fixed issues.
I also notice and I don’t know why, that you have incorrect theme path: e.g.: http://harrisonarth.com/wp-content/themes/lessismore1.0.6/bootstrap/js/bootstrap.min.js
It should be like this: http://harrisonarth.com/wp-content/themes/wp-less-is-more/bootstrap/js/bootstrap.min.js
so please, remove existing theme and install again, this time from repo.
Cheers
In
footer.phpon line: 19.<p><?php printf ( __( 'Copyright © by %s', 'wp-less-is-more' ), get_bloginfo( 'name' ) ); ?></p>At this time, there is no other way like remove whole line, but in future I will add option to the Customizer.
Cheers