Video to stretch across the entire homepage [closed]

You could add negative margins to the video element. If inline (adjust as needed): <video id=”video_688987199_html5_api” class=”vjs-tech” preload=”auto” autoplay=”” data-setup=”{}” src=”https://wordpress.stackexchange.com/wp-content/uploads/2018/04/video.mp4″ poster=”null” style=”margin-left: -50px; margin-right: -50px;”> If in stylesheet (again… adjust as needed): .vjs-tech { margin-left: -50px; margin-right: -50px; } Another option is to set the width as something greater than the parent div’s width. … Read more

How can I remove posts of a certain category from homepage after a specified time period?

This looks straightforward, but unfortunately isn’t, because wp_query doesn’t allow you to exclude posts on basis of multiple arguments (in this case category and date). You can select on basis of multiple arguments, but not exclude. So, to do what you want, you must in some way bundle your two arguments into one. Conceptually, you … Read more

When clicking on “home” page from any other page, it goes to IP address and my website doesn’t load

The URLs are greyed out in the Settings page because of the entries in the wp-config.php file. If there are entries for these values, those values override the values in the wp-options table, and the override makes the Settings values uneditable. See this in the Codex: https://wordpress.org/support/article/changing-the-site-url/ It is possible to set the site URL … Read more

Testing if current page is the static page set as home page

You can use the function is_front_page(). Put this where you want to check if is frontpage if( is_front_page() ) { echo ‘I am the frontpage’; } It returns TRUE when the main blog page is being displayed and the Settings->Reading->Front page displays is set to “Your latest posts”, or when is set to “A static … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)