Once I moved site and I needed to update URLs in new installation as I moved old database too. First I used one plugin, forget it’s name and made complete mess. But when I found this query, everything was smooth. Just open phpmyadmin for your database and open tab SQL. Pay attention on database prefix. […]
I was creating very simple plugin with shortcode but I had problem how to enqueue script only for pages where I used shortcode. After searching few web sites I found right solution here and this is the code:
I needed to get page ID in header.php for each page for my WordPress theme. There are more then one solutions for this, but the only one worked for all kind of pages. I had problem with page for blog posts that was showing ID of the first blog post, not ID of the current page. But this solution […]
Few days ago I received email from Google Search Console Team with title “Social engineering content detected”. On one of the sites that I was working some small fixes, was detected site phishing. Someone used site’s domain and added link to phishing page with plenty download’s links. URL looked like this: http://www.sitename[.]com/~smarketi/apple/app/account/id45554485_54/key_hgyggggfft5485fe/ As security was […]
For one page WordPress theme I needed to display content based on defined menu. So I had menu location named top_menu and my job was to find what pages are inside and to display their content. First I needed to use function that would bring me back name of menu assigned to that location.
I’m very excited to announce the launch of my newly designed website which goes lives today and is located at the well known web address www.valeka.net. The site’s homepage features bright colors and an uncluttered design. A few of my goals with the new website were to make it faster, easier to navigate and more […]