Parse error: syntax error, unexpected ‘}’ in

In that last block, there’s a mix of bracketed and bracket-free if statements that make it hard to debug. I’d suggest rewriting it like this and using indentation to make it easier to see what is going on at a glance: if (is_page(esc_url( wp_get_current_url() . ‘/?sortby=asc’))) { if ( $newQuery->have_posts() ) { while ( $newQuery->have_posts() … Read more

How do I link the side images?

I took a look at your site, and are you sure you dont want to make the .wrapper clickable? boxed-layout is your whole site, so if you made that clickable the whole site would be a link. However, if I look at your question, the answer would be to use jQuery. <script> $(“.body.boxed-layout”).click(function(){ window.location = … Read more

Advanced Custom Fields Show PHP in Text Areas

Pay for the ACF Pro version to enable flexible fields (which is basically the function I wanted to have) or use an alternative WP plugin that has the feature for free, such as Carbon Fields or Piklist. If you want to display PHP in the textboxes, although creating a security vulnerability, you could use Shortcodes. … Read more

dropdown does not work [closed]

There is a item over these select boxes. In you css file search for element.style and remove it’s position: relative; property. element.style { bottom: 0; left: 0; position: relative; top: auto; } That will fix this issue.

How to hide unwanted HTML Comment like in website [duplicate]

Even when WordPress is actually hiding comments in your source code by instant, it could be possible that plugins or yourself put other comments into your code. However that happened, you can delete them manually from your Theme / Child-Theme or minify the HTML-Code. A Plugin like Autoptimize will help your minify the HTML-Code and … Read more

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