how to remove padding from left and right side? [closed]

Use the developer tools in your browser (i.e inspector in Chrome or firebug in Firefox) to see where the padding is coming from. Either the padding is applied to something other than the body, or the padding is applied to the body but is still overriding your CSS. For example: body.class { padding: 20px; } … Read more

When can changing a theme damage a website?

In short yes. The best way to achieve this is by setting up a staging environment. This will have a carbon-copy of the latest version of your WordPress site. From there, you can update the theme and verify that everything works as planned. Once everything checks out, you can apply those changes to your live … Read more

Do not show excerpt in post content

Don’t use the more tag to manually define excerpts. There’s a separate input field for that. If it’s not visible, go to “screen options” in the upper right corner of the edit screen to enable it. What exactly is shown on your single and archive pages depends on your theme. There is no general way … Read more

Change title slug or separator in WordPress

To change the title separator, you’ll need to use this filter document_title_separator which was introduced since WordPress 4.4.0. Here’s how you can customize the separator: apply_filters( ‘document_title_separator’, ‘your_custom_separator’ ); function your_custom_separator( $separator ) { $separator=”|”; return $separator; } Hope this helps. Updated Answer add_filter( ‘document_title_separator’, ‘your_custom_separator’ ); function your_custom_separator( $separator ) { $separator=”|”; return $separator; … Read more

How to find a file in WordPress themes [closed]

Open your Linten WordPress theme in a text editor or IDE then open inc/hook/custom.php file, inc and hook is directory/folder. Then find this function linten_footer_copyright and do whatever you want to do. Here’s the file link from WP theme repo – https://themes.trac.wordpress.org/browser/linten/1.0.6/inc/hook/custom.php#L112 How I found the right file Let me explain how I found your … Read more

Theme Development Admin Area [closed]

You’re not supposed to modify the Dashboard. It’s recommended to create custom post types for content organisation and a top-level feature plugin for more complex options and settings. You can also use the Customizer to allow theme changes. A theme might already have these settings, so you could add some meta boxes with general help … Read more

WordPress Theme for Video Showcase [closed]

I would actually recommend a hybrid approach – take a good theme for showcasing photos and substitute in your YouTube videos. Photo themes give you large portions of screen real estate for imagery, and if you do it right it’s not difficult to substitute an embedded object (i.e. YouTube video) for the images. Some good … Read more

How to change sidebar per page?

… on my homepage and one other page i dont want to have the sidebar. You can tell WordPress to do not generate sidebar on specific page(s) with simple condition in your page.php file (or other relevant template file). For example the following piece of code will disable sidebar on ‘About Me’ page. <?php if … Read more