retrieve data from database using session

Hi I had read topics here and tried doing it in different ways but my problem still not solved. I tried storing session and use it to retrieve data again from the database. I used the session...

Django, creating a custom 500/404 error page

Following the tutorial found here exactly, I cannot create a custom 500 or 404 error page. If I do type in a bad url, the page gives me the default error page. Is there anything I should be...

Remove parent from custom post type

I've created a new custom post type with WordPress. However, the slug adds the post to a parent, like so: http://example.com/UNNCESSARY-PARENT/post-title However, I'd like it to...

IIS hijacks CORS Preflight OPTIONS request

I am making a CORS POST request and setting the Content-Type header to json. This triggers a Preflight OPTIONS request to fire (this is good and expected) This OPTIONS request is responded to with...

Change Wordpress Post Title Placeholder

I'm Creating a custom post type and want to manipulate the placeholder text within the title field of the Create New Post section. Requirements: It can only be for one specific post type, not...

Custom post type active menu item

I created a custom post type called “team" and added the link to the archive page to the WP menu. Once user clicks on it, he is shown all team members and that current page is highlighted in the...

How to join a client to group in MVC using signalR?

I looked everywhere but could not find or understand how to make a client join a SignalR group. I'm using mvc 4 with the system users. I am programming a game of online Tic-Tac-Toe. My goal is to...

WordPress: Get custom post type category link in `have_posts` loop

How can I get the custom post type category link in the while have_posts loop? Here is the code I am using to get the category name: <?php query_posts(array( 'post_type' => 'portfolio' )); ?> ...

Counting post meta based on key and value and get meta count, not post count

I'm using WordPress meta data to register clicks on images, to know which images each user has clicked - and also the total number of clicked images per user. The first part is fine, but I'm...

Required request part 'file' is not present - Angular2 Post request

I am trying to get my file upload functionality done using Angular2 and SpringBoot. I can certify that my java code for the file uploading working fine since I have tested it successfully using...

ElasticSearch: Adding a normalizer for case-insensitive search on keyword

I have a large ES index with dynamically created "keyword" fields. I need to enable case-insensitive search on these. I understand analyzer is not available for keyword fields, and normalizer is...

Creating a custom post type and subpages with same slug

I made a custom post type with the 'has_archive' to 'false' to be able to create a page with the same slug as the custom post type: 'Test'. I want to create subpages / child pages for the 'Test'...

User.Identity fluctuates between ClaimsIdentity and WindowsIdentity

I have an MVC site that allows logging in using both Forms login and Windows Authentication. I use a custom MembershipProvider that authenticated the users against Active Directory, the...

Save check and uncheck values from checkboxes

I have this form: <form name="settings" action="../ajax/account/account_ajax.php?token=<?php echo $token; ?>" class="form-horizontal" method="post"> <input type="hidden"...

How to add search functionality on custom post type in WordPress

I have registered new custom post type in the function file. After that, I have created one new template and assigned that template on the page. Following code, I am using two display all records...

Display dropdown on table data cell in html using angularjs

I am trying to populate rows in my html table based on my angularjs response. My aim is to make one of my table data cell in a drop down format. Requirements: The drop down will have three values...

Cannot read property 'cell' of undefined using data table

I was trying to apply datatable in asp.net but it throwing the error the code used for applying datatable. What I should do to solve my problem. I am searching but I didn't find anything to solve...

Query Custom Post Types & Order By Custom Post Type

Is it possible to query multiple CPTs and then order in a preset way? For example, I have 2 CPTs & 1 being the WP default 'post' and would like the loop to return 6 results, ordering as...

iOS Safari/Chrome won't scroll up to show validation error message on radio input

I'm setting up a questionnaire for clients that needs to be mobile-friendly. When the form is submitted/validated, and a question is not answered, it scrolls to the first invalid field - whether...

Hide or exclude an ACF field in a front end form and store default value

I have a field group attached to a custom post type. It contains a 'status' select input which the user can choose an option from in the wp admin area. I also have a front end form using the same...

Symfony 4 login form : authenticating successfully, but authentication immediately lost after redirect

I built a login form following this form login setup doc. This is working fine on localhost but not on the production server. On both localhost and prod, authentication begins successfully Guard...

Alertyfy pop up appearing at background of bootstrap model

I have a button and upon clicking that button I am showing a form in bootstrap model. What I want to achieve is to show confirmation box on form submit. Everything is fine but confirmation is...

How to use "getEntityRecords" for specific taxonomy terms

I'm trying to use "getEntityRecords" to get custom post types from specific terms of taxonomy. For "post" I can use "categories" attribute in "query" object, like below: getEntityRecords(...

how to remove custom post type from wordpress url?

I have a wordpress website which is using the custom template with custom post types like landing and services. Each post type have a specific slug in the url like this =>...

wordpress: wp-graphql not working with custom post type

I've created a custom post type that is however not showing up in the GraphiQL explorer. function create_custom_visions_post_type() { register_post_type('visions', array( ...

WP_Query in wordpress and include ACF in results

I try to fetch all posts from a custom post type in Wordpress and include the advanced custom fields (ACF) in the results as well, in order to generate a JSON file with the data. $query = new...

Gatsby fetching Wordpress Custom Post Types and create pages

I read the documentation and tried several tutorials, but I am stuck on fetching custom post types with GatsbyJS. I tried several approaches, but none of them are working as expected. I always...

How to visualize list of event parameters and their count in Google Data Studio

I'm setting up a Dashboard in Google Data Studio where I would like to show the top event parameters in a table but I'm struggling to understand how to configure such a query. Context We are using...

How to configure GKE Autopilot w/Envoy & gRPC-Web

I have an application running on my local machine that uses React -> gRPC-Web -> Envoy -> Go app and everything runs with no problems. I'm trying to deploy this using GKE Autopilot and I just...

Java Collectors Streaming filter and .toMap when detecting case insensitve duplicates for various types

I have a data structure that collates potential case insensitive naming clashes. caseInsensitiveDuplicates Think of the nested maps as a way of doing a compound key. The integer represents a...