theme development – WordPress TopNavigation Menu Not working?

This is weird, has anyone seen this behavior before?

I have just created a site locally (WP 5.6 Windows 10 and IIS) using VS Code as my editor

The top nav menu appears correctly however when you click on a link nothing happens. When I say nothing, I mean nothing, there are no errors in the console, the page doesn’t flicker as if it’s trying to do something. It’s like the link is disabled or something.

All my other localhost sites work just fine. I deleted and created this site several times, I used an existing working site as a template

You can hover the mouse pointer over it and the URL is displayed (bottom left in Chrome). I checked in Chrome inspector and the link is a property formed hyperlink. You can right-click and “open in another tab” and the page works fine and correctly. It just won’t open when you click the link.

The same issue in Chrome, Firefox, IE, and Edge

This is the code from the generated page. I’m using BootStrap 4.5.2, class-wp-bootstrap-navwalker.php (Version: 4.3.0) and Jquery 3.5.1

<div id="navbarCollapse" class="collapse navbar-collapse">
    <ul id="menu-mainmenu" class="nav navbar-nav ml-auto">
        <li itemscope="itemscope" itemtype="" id="menu-item-18" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-18 nav-item"><a title="Our Services" href="http://localhost/360sbs/our-services/" class="nav-link">Our Services</a></li>
        <li itemscope="itemscope" itemtype="" id="menu-item-19" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-19 nav-item"><a title="Projects" href="http://localhost/360sbs/projects/" class="nav-link">Projects</a></li>
        <li itemscope="itemscope" itemtype="" id="menu-item-20" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20 nav-item"><a title="Our Story" href="http://localhost/360sbs/our-story/" class="nav-link">Our Story</a></li>
        <li itemscope="itemscope" itemtype="" id="menu-item-21" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-21 nav-item"><a title="Contact Us" href="http://localhost/360sbs/contact-us/" class="nav-link">Contact Us</a></li>

@media (min-width: 992px)
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
.nav-link {
    display: block;
    padding: .5rem 1rem;
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
*, ::after, ::before {
    box-sizing: border-box;
user agent stylesheet
a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
user agent stylesheet
li {
    text-align: -webkit-match-parent;
.navbar-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
user agent stylesheet
ul {
    list-style-type: disc;

Permalinks for pages – WordPress Development Stack Exchange

Why can’t i edit the permalinks for my pages? I got a 4 layer structure,


so I want my URL structure to be but where can i do this??
I made all the catagories in the also 4 layer strucure. But at the permalinks editor i can only choose Post or Products…

I find it strange that I cant do the same for my Pages…

I hope this makes sense, and someone can help me, thanks!

Django Development Company

Meet Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Meet Steelkiwi
Steelkiwi is a python development company. We offer high-quality web solutions in this programming language that goes along with Django development. Build your ideas faster and easier with Python & Django Web Development Services

#python development company #django development company #web development company #mobile development company

Error in Autoptimize Plugin – WordPress Development Stack Exchange

I am getting this error in our Autoptimize plugin.

Error: Element style not allowed as child of element noscript in this context. (Suppressing further errors from this subtree.)

Does anyone know how to fix it?

Thank you!


theme development – How to make force_balance_tags balance comment tag

I’m displaying a preview of a post/page/cpt using a ‘work-around’ that i found. This ‘work-around’ gets the post content, trim it and render the trimmed content with it’s html elements ( links, images etc.. ), so similar to the_content().

The mentioned work-around is this

$more = '...';
echo  force_balance_tags( html_entity_decode( wp_trim_words( htmlentities( $values("content") ), 300, $more ) ) ); 
echo '<a href="'. $link . '" class="readMoreBtn">Read More</a>'

This little code

  • displays preview of the post correctly if the content doesn’t get trimmed when a comment starts
  • breaks the html when it ends with a non-closed started comment <!--

i mean sometimes happens that the trimmed page content ends like this

<!-- wp:image...<a href="" class="readMoreBtn">Read More</a>

so i suppose that the image that was going to be displayed started but the comment has never been closed. This cause that the whole html code under that output get commented unitl it encounters a close comment tag -->.

As a solution for this i changed

Before: echo '<a href="'. $link . '" class="readMoreBtn">Read More</a>'

After: echo '<!-- --><a href="'. $link . '" class="readMoreBtn">Read More</a>'

So that the close comment tag is find instantly.

I supposed that the force_balance_tags could balance all the tags in the string, am i wrong?

There is a better way to solve this rather than adding <!-- --> right after the built preview‘s echo?

web development – Accessing Animal not belonging to User: 400, 401, 403, 404, other?

Consider animals being some REST resources. User has animals assigned to him.

The endpoint /api/animals/{animalId}/feed is used to feed a given animal by the authenticated user.

User should not be able to feed animals he does not own. What HTTP status code should be emitted in such a scenario?

400, 401, 403, 404, something else?

Also, should the situation where passing animalId that does not exist, e.g. 123456789 be distinguished from the situation where animalId does not belong to the logged in user?

I personally feel like I should return 404 in all cases.

This seems like a typical REST design situation, so I am wondering how experienced devs would solve it.

web development – Search engine URL Submission automation

So i built a search engine to accompany my companies social network. The search engine is called now i have a manual url entry option and i need a way to automate URL entry at link

Now i need a way to crawl other search engines and enter the websites crawled to the search engine i built. This search engine has 40.000 search results currently and I need 1 million before it goes public with the web browser im building. Anyone have a solution. How does mojeek and duck duck go get results. Thanks.

A personalized professional website for $98

A personalized professional website

We had Designed various websites beforeThis website help you to reach to various customer. They make a impact on your customers.We make most affordable Website that looks stunning and professional. Which attracts people and buyers and make a strong image in everyones mind.And increase loyalty.This is one time small investment which will help you to growIn this website we make stunning websites that attracts customers.We make really very professional website.And we make so affordable Website that any small business can afford it.We provide our own domain and hosting in our charges. And no extra charge you will pay.And also no monthly or yearly charges .It’s just like one time investment.You will be surely satisfied by your website


web – Matchmaking/Lobby hosting for game development hobbyists

I might make an online multiplayer game as a hobbyist. Implementing a lobby system is trivial (and slightly less so when you take into account security and hairy when data protecting regulation gets involved) and there seem to be existing self hosted solutions. However i see how me hosting my own lobby server gets in the way of me making a fun game.

I would run my own game server but i would rather just have to handle match cookies and actual game logic instead of also handling a lobby system.

I am looking for a service/non profit that offers an API for my game client to call into to provide basic lobby/match making features such as:

  • Authentication
  • IP banning with timeout after voting
  • Storage of some persistent account state
  • Getting a list of open games with metadata and push refreshes
  • When joining a match updates on map changed, team information, waiting for ready of all players
  • Match specific chat (maybe also lobby chat)
  • Uses a communication mechanism that has bindings in many languages
  • An API which works cross platform (so something Steam specific doesn’t count)
  • Preferably with an indie friendly free tier and appropriate pricing otherwise
  • Maybe an optional skill based/elo system to experiment whether it makes sense for this game.
  • Maybe is a platform of many multiplayer games and maybe uses that information for matchmaking
  • Maybe donations/monetization/subscription functionality to unlock maps/hats, this information is stored in player persistent state.
  • Maybe password protected matches/invite only

A game server side API which allows:

  • Gives users an authenticated token/cookie their game client uses to connect to the actual game server i run (all game logic runs on my server)
  • Allow my game server to query information about the player with that token
  • Allows my server to read/modify player persistent state
  • Maybe allow user hosted games on their own servers
  • Maybe manage number of game servers based on utilization numbers and make an API call to shut down/start them depending on activity levels (to save cost when there are no users). This would be huge for my hobbyist use-case.

During my search i encountered the services braincloud and gamesparks. While they have a free tier it is named “Development” this makes doubtful that i can use it long term. The cheapest non-development tier costs many times more per month than a VPS.

Is there a hobbyist friendly service that provides basic multiplayer/lobby features?

theme development – how to make wordpress change the title and keep page name?

I want to change the title of my archive page from “category” to “department” to get something like this: Department: Marketing. Where “department” is the archive page title and “Marketing” is the actual name. This is the code that I used:

add_filter( 'get_the_archive_title', function ( $title ) {

    if( is_category() ) {

        $title = 'department';


    return $title;


But It hides the page name. When I use this code, I get only “Department” as a title and when I delete it, I get “category: department”.

How to fix it?