Author Archives: valeka-vale

Online Tools for Web Developers

CSS Tools Ultimate CSS Gradient Generator Box Shadow CSS3 Generator Free online tool to unminify JavaScript, CSS and HTML code Webfont Generator HTML UTF-8 Miscellaneous Symbols HTML Formatter Favicon Generator Page Speed webpagetest.org tools.pingdom.com gtmetrix.com Google Mobile-Friendly Test Image author: Nguyenshishi

Read More

2 Useful SQL Queries For WordPress

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. […]

Read More

How To Enqueue Scripts and Styles in Plugin Only on Pages With a Shortcode

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:

Read More

The best way to get ID of each WordPress page

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 […]

Read More

Social engineering content detected- Site phishing

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 […]

Read More

Display content based on WordPress navigation menu

WordPress, function, menu, navigation, content

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.

Read More

Updated Website Launch Announcement

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 […]

Read More