Dynamically changing navigation links (next and previous) in Wordpress via AJAX

Inside the loop of single.php, I have a select tag in which the options are the posts of the current category returned via a custom query. On changing selected option, I have many javascript...

How to add a menu item to the front page of a site?

I'm looking for a bit of help with a site that I'm working on that uses WordPress as a CMS. Basically, I am attempting to add a menu item called 'Mood Boards' to the front page of this site, so...

create a ajax handled save action for theme options (sections)

I want to create a theme options page that will have sections. Those sections should be to be saved both one by one, and also all together. The WordPress default function for that will, regardless...

CSS transition not working for changing color

I'm currently working on a Wordpress site with the following search template in PHP. search.php: <?php /** * The template for displaying search results pages. * * @package WordPress *...

Cordova AJAX calls fail only on release build

I'm developing a Cordova app for android, and I have a strange issue about jquery ajax calls: the debug build have no problem, while in the release one each ajax call fails with an error. If I run...

Use Slick Slider as WP Post Navigation

I'm trying to use slick slider as the Previous and Next buttons on a WordPress single CPT page. So the slider would call all the posts of a specific CPT and show the featured image of the current...

How to navigate from splash screen to login screen in react native?

I am a newbie to react native. I'm developing a sample app where user will get splash screen on opening of the app and later he will get login screen. But I am unable to figure out the way to...

Warning: count():

Hey friends I am running my wordpress theme on localhost to make some changes. It shows following error without showing main navigation bar. Warning: count(): Parameter must be an array or an...

Flexslider not working properly - Wordpress

I'm trying to setup FlexSlider on WordPress following a youtube, but not sure why the slider isn't working. The console shows no error! All the images are loaded but on top of each...

Safari - Notice: Trying to get property of non-object... post-template.php on line 656

I'm having an issue with the navigation on one of my websites. http://2b1.209.myftpupload.com/search/ Notice: Trying to get property of non-object in...

How do I fix the Notification box caret?

I have created a messages notification using Bootstrap dropdown. If you see I have added a caret to represent that the caret belongs to the message icon now when I'm normally checking including...

Error on http requests from ionic iOS native to WP rest API (works on web view and DevApp)

We are trying to issue http requests from our ionic app to a Wordpress server (REST API) and get the following...

How to resolve Error: Internal server error (500), while importing data using One click demo import WordPress?

I am working on WordPress theme development and getting an error on one click demo import. I have increased max execution time, but still getting this error. It creates a log file in media but...

Why won't useEffect run my API fetch anymore and save results to state?

GOALS: Note that examples used are not the exact context of my project, but are very similar, and therefore simplified for the sake of this post I am trying to use WP-API to use Wordpress...

Getting error on react native "json parse error unexpected eof"

I have followed this code from the site "http://carlofontanos.com/user-login-with-wordpress-using-react-native/" I have done my Login.js like this import React, { Component } from 'react'; import...

In a JSON file I need to access to an attribute name with ':' in it

I'm a react-native noob. I need to read a link inside a JSON field called 'wp:featuredmedia.href'. obviusly i can't put the ':' char in the code. I've tried in this way... but I've no success...

How can I fix my responsive css code error?

On my website, when I enter with my phone, the responsive css doesn't work. Im thinking that it's something with the css code or with the padding. If I enter with my computer I can see the post...

In the WordPress i18n project, add prefixes by triggering internal links with variables

We are working on a localization project in WordPress. In fact, we can correctly add the active browser URL with language support. I'll add the details and the entire code below. Don't worry, my...

For loop only working in one template in django

I am trying to build an educational website and am trying to put all categories using for loops in a dropdown in the navbar. I have put it in base.html and all other templates extend base.html....

Add colon to the end of these two labels

Here is the form code: <form method="post" action="https://www.publictalksoftware.co.uk/wp-login.php" class="bbp-login-form"> <fieldset class="bbp-form"> <legend>Create an...

Error while updating property 'fontSize' in shadow node of type: RCTText

I have deleted node_modules and rerun npm install. After that i got this error: Error while updating property 'fontSize' in shadow node of type: RCTText Value for fontSize cannot be cast from...

React Hooks Problem: Unhandled Rejection (TypeError): Cannot read property 'signup' of undefined

I'm trying to implement the useAuth hook from https://usehooks.com/ useAuth.js // Hook (use-auth.js) import React, { useState, useEffect, useContext, createContext } from "react"; import axios...

at-rul or selector expected css(css-ruleorselectorexpected)

I'm confused. Was trying to get rid of render blocking css on my website. So I followed an instruction of aoxao.co. I use Wordpress and Autoptimize for minifying all my .css file to one...

Reverse for 'post_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['post/(?P<slug>[-\\w]+)/$']

Using Django 1.11| Having this issue, I thought it was because I copied some urls and views from another project, but even after deleting, the issue reappeared. I just was trying to remove my...

Add to wishlist button not working in a Pretty Photo script

I cannot figure out why my prettyphoto script is no longer running. I have read other posts and they seem to just assume jQuery is not loaded in correctly or in the correct order. Why wouldn't...

Webpage dropdown menu on IE and Edge

This is a very basic dropdown and IE question I have a dropdown menu on webpage. Main menu is built with WP shapely theme and Polylang plugin (translation). Chrome and other browsers except IE...

WordPress Main Menu Links Have Bullet Points And Aren't Horizontal

Like the title says, I can't figure out why the links in my main menu on my local WordPress site are vertical with bullet points. Can someone please tell me how to get rid of the bullet points and...

Styling issues while rendering wordpress template in react

I have a react application which fetches the wordpress post content and renders it through WP REST API. The designer templates that are created have lots of CSS classnames around it. Now when I...

Cannot find Module using tailwindcss WP theme

I'm trying to install and use a node_module to use on my scss (in this case: poly-fluid-sizing https://www.npmjs.com/package/poly-fluid-sizing) My package.json "name": "theme", "version":...

Change menu titles from h2 to h3 (woocommerce / wordpress)

I just launched my store on wordpress and I ran into a problem: When I am on the home page of the site, all my product titles are in H2 and should be in h3 (SEO reasons), my recommendation...