philwebs
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Titles display vertically in the articles listHi,
Are you talking about the admin view of your posts? If so, you probably have some plugins adding additional columns to the posts list. You can try to adjust the settings of those plugins to not add columns or you can use CSS to adjust the widths of those columns.
Forum: Fixing WordPress
In reply to: Double size my site’s iconsHi,
I’m looking at you home page and I see the icons. If these are the icons you want to change then this can be done by editing the CSS. Right now, they are 40px x 40px.
You need to change thefont-sizeof the.icon-boxclass. If you want them to be twice as big you can make:.icon-box { font-size: 80px; }Hopefully this helps.
Phil
Forum: Developing with WordPress
In reply to: sort sql query from metadataHello,
I think you might want to to try to get the user meta via https://codex.wordpress.org/Function_Reference/get_user_meta
Then you can put the meta data in the order that you want it to display.
Forum: Fixing WordPress
In reply to: Set lower number of home page posts for mobile onlyOne approach you could use for this would be to use
wp_is_mobileto detect if it is mobile
https://codex.wordpress.org/Function_Reference/wp_is_mobile
andpre_get_poststo change to number of posts to 10.
https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_postsHopefully this helps, let me know if you I can help you anymore.
Forum: Fixing WordPress
In reply to: cant write “phone_number” to db as “tel:phone_number”Marat,
I hope you are doing well!
What you are showing is called a ternary operator. It sort of a shorthand for an if/else statement.
What this is saying is that if the
user-phonehas been sent with the POST request then set the$phonevariable to the value of$_POST[‘user-phone’]A complete ternary looks like this:
$variable = (a statement that is either true or false) ? if true do this : if false do this;For you I’d try
$phone = isset($_POST[‘user-phone’]) ? 'tel:' . ($_POST[‘user-phone’] : ''Forum: Fixing WordPress
In reply to: Problem with Disappearing Header Image on MobileHey,
The header image is still there, it is under the menu bar. You can add a margin to the header image to push it down so you can see it.
You will need to add a
margin-topthat is equal to the menu height. You will want to do this with a media query so you don’t push the image down when it is on a wide screen.Forum: Fixing WordPress
In reply to: Calendar/Event Plugin – Multiple Supplier/Merchant?Hi toups5,
You could create a vendor custom post type and then add a meta box to an events calendar plugin containing the vendors. I’ve done something similar using The Events Calendar by Modern Tribe for the calendar portion of the plugin.
Hopefully this will be a start for you.
Forum: Fixing WordPress
In reply to: Navigation ButtonThe padding in this CSS, which is from Bootstrap, is making the buttons taller than you would like. You will need to add some CSS to your style.css file of the theme.
.btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; //I've removed stuff here }You could try something like changing the padding to:
padding: 2px, 12px;To make more space you will need to add a margin to the two button elements.
Hopefully this helps.