cambob
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Large spaces between blocksThanks for the reply. Ive pretty much tried everything from line heights to setting all paddings and margins to 0. Spacers, grouping, paragaraphs instead of headings, columns instead of galleries, custom css ect. My first example wasnt the greatest I never realized i placed a png with space built into it.
This example here shows the heading with a big space below it before there is an image. The bottom of the heading has padding and margin set to 0. The image below it has padding and margin top set to 0. Yet there is a big gap between them. Inspecting the two elements doesnt tell me anything other than confirm the padding is set to 0. The heading has a long range of classes but trying to track them down and inspect every one of them would be tedious and probably fruitless. Unfortunately it seems most of the spaces are hard baked into the core files.- This reply was modified 3 months ago by cambob.
Min Max operation did the trick. The embed IF operation is good to know for the future as well. Thanks!
Forum: Plugins
In reply to: [Calculated Fields Form] loop back to 00 when 100 is reachedThe IF operation is exactly what I was looking for!
This will come in handy with other things as well.
Thanks for figuring out my over explanation 🙂Forum: Fixing WordPress
In reply to: Customizer Header Background Color? Is it possible?great I will take a look at that approach
thanks
Forum: Fixing WordPress
In reply to: Customizer Header Background Color? Is it possible?Looks like you added to the functions file. tried adding to functions file didnt work. Also tried adding to customizer file but errors both cases.
Thought I would try to tackle this but looks like its over my head.thanks anyway!
Forum: Fixing WordPress
In reply to: Customizer Header Background Color? Is it possible?This is the code I am using that I changed from the example here
https://www.nosegraze.com/customizer-settings-wordpress-theme//** * Section: Colours * * @param WP_Customize_Manager $wp_customize * * @access private * @since 1.0 * @return void */ private function colours_section( $wp_customize ) { /* Paragraph text */ $wp_customize->add_setting( 'header_background', array( 'default' => '#444444', 'sanitize_callback' => 'sanitize_hex_color' ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'header_background', array( 'label' => esc_html__( 'Header Background Colour', 'twentytwelve-child' ), 'section' => 'colors', 'settings' => 'header_background', 'priority' => 10 ) ) ); }Forum: Fixing WordPress
In reply to: Can not update post content in databaseas mentioned above I tried the plugin “better search replace”. tried it twice now but same result as above.
that is why i want to change it directly in the database via sql but I cant find the content?
Forum: Fixing WordPress
In reply to: Can not update post content in databaseyou cant see it in the text because the URLs are html links to images. But for example if you click on the name across from “download comp” it will take you to an old URL (different domain) and the image to download wont be there because the path has not been updated.
https://www.zenmaps.art/wm006-117/
thanks
Forum: Fixing WordPress
In reply to: Can not update post content in databaseI tried that, searched all the tables and the log said no instances were repplaced. And checking the posts they stillhave the old url in the text/html section of the post.
Thats why I would like to find this text/html in the database so that I can change it with sql.
Thanks all the same
I left it open because I was hoping to get some other responses. My question is as above. Restated in a simpler way.
Is there somewhere in the database where I can insert, by SQL, paths to the featured images of existing posts.
So that I dont have to add them to each existing post individually?Thanks
yes better leave it alone. I managed to add featured images by inserting post_id and meta_value(s) into the wp_postmeta table before but the sql that I was using before returns an error message now. I’ll dig deeper into the shortcode. thanks
Forum: Fixing WordPress
In reply to: Host pulled my site, says my WP site is using excessive mysql??ps. site is new and hardly gets any visitors so thats not the problem
http://www.oldskullhockey.comThanks Again
Forum: Fixing WordPress
In reply to: jquery not workinghmmm interesting, the link is to the old url. so where can i change this link to the new url?
I have already updated to the new the url in the nextgen lightbox advanced settings.
Forum: Fixing WordPress
In reply to: Where in Database is the featured images???so I have managed to import a few featured images into the wp_post_meta table. They show up in edit mode of the post and I have added a tag and the same tag into the body text of the post.
However they do not show up in the search results.
I added a few search images on other posts (exact same image and tag) by adding one at a time in add featured image within the post edit and they do show up.I,ve looked at the database table and see no difference at all between the images I added through SQL and the images added manually through the post edit.
There must be another table affected by adding the FI manually through the post edit???? any suggestions would really be appreciated
Forum: Fixing WordPress
In reply to: Where in Database is the featured images???sorry lost the formatting on the examples
meta_id post_id meta_key meta_value
874 3767 _thumbnail _id 3841