Ramon Ahnert
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: REST Api in WP 4.7Hi @gioma68.
The correct URL is https://oursite.com/wp-json/ (and not “jons”).
Forum: Themes and Templates
In reply to: TitlesHi @jkblue.
You may use the filter “the_title” in functions.php.
add_filter( 'the_title', '__return_false' );
References:
the_title | HookHi @malkah.
You need to look in functions.php file (theme folder) the functions “wp_enqueue_script()” and “wp_enqueue_style()”.
If you don’t find anything, look in header.php file..
References:
wp_enqueue_script()
wp_enqueue_style()Forum: Fixing WordPress
In reply to: I can’t find in reading settingsHi @luisvaldesg.
In Settings >> Reading, the first field is “Front page displays”. So you may set to show your latest posts or a static page.
Forum: Themes and Templates
In reply to: Child themes and .PHP filesYes. Your code going to override all code (including future changes) of the parent theme.
Forum: Themes and Templates
In reply to: Child themes and .PHP filesHi @michelesidecar.
I think that the text below will help you:
If you want to change more than just the stylesheet, your child theme can override any file in the parent theme: simply include a file of the same name in the child theme directory, and it will override the equivalent file in the parent theme directory when your site loads. For instance, if you want to change the PHP code for the site header, you can include a header.php in your child theme’s directory, and that file will be used instead of the parent theme’s header.php.
References:
Child Theme << WordPress CodexForum: Fixing WordPress
In reply to: Header and Footer missing when using Static front pageFirst, a correction about what I said before: you need to look if the template file has the functions get_header() and get_footer(). Sorry.
It’s a theme specific question.
References:
Page TemplatesForum: Fixing WordPress
In reply to: bgcolor AttributeIn style.css (or another CSS) file you may put the code below
#content tr th { background-color: #fff !important; }
Forum: Fixing WordPress
In reply to: Header and Footer missing when using Static front pageHi @customgt.
I guess that the template you chose doesn’t show the header and footer. Look if the template file has the functions wp_head() and wp_footer().
Forum: Fixing WordPress
In reply to: Fatal error: Cannot redeclare get_the_post_thumbnail_caption(Hi @wearegravity.
Two functions (one in WordPress and another in your theme) has the same name “get_the_post_thumbnail_caption()”.
The file “functions.php” of the theme need verify if the function already exist. Something like this:
if ( !function_exists( 'get_the_post_thumbnail_caption' ) ) { // ... do the work }
Maybe update the theme via FTP resolve the problem.
Forum: Fixing WordPress
In reply to: custom css – text not displayed – maybe syntax errorHi @katkafn.
The code $credits ? $credits : ‘Designed by Press Customizr‘ use a ternary operator. The ternary operator works this way (condition) ? (true return value) : (false return value).
So you may remove the ternary operator. Something like that:
return '<div class=”span6 credits”> <p> · ? ' . esc_attr( date( ‘Y’ ) ) . ' · Designed by Press Customizr' . $newline_credits . '</p> </div>';
Forum: Themes and Templates
In reply to: woocommerce image sizesHi @noiseyboy.
Woocommerce is not a theme but a plugin. The Storefront is a theme.
Did you try set the size in WooCommerce > Settings > Products > Display ?
References:
Using appropriate image dimensions to avoid distortion / pixellationForum: Fixing WordPress
In reply to: above header contact information barHi @hamadesign.
Maybe Header Customizer Lite plugin works.
Forum: Fixing WordPress
In reply to: Question About Migrating HTML site to WordPressHi @mayank29gupta.
Probably not. But you should make a backup of your site for security reasons. You also may try setting up a local server environment for testing.
References:
Installing WordPressForum: Themes and Templates
In reply to: [EasyBlog] Translate “Read More”Hi @vbdeco.
You may translate “Read More” using filter “the_content_more_link”:
function modify_read_more_link() { return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>'; } add_filter( 'the_content_more_link', 'modify_read_more_link' );
References:
Customizing the Read More
Filter