Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
1answer
17 views

Client on iPad accidentally adding <code> tag to posts while writing

A client of mine complains that text gets 'randomly highlighted' when he is writing Wordpress posts on his iPad Pro. He uses the web interface. I got him to stop deleting the 'highlighted' text and ...
0
votes
0answers
9 views

how to use a sidebar widget with its options in a template

I know that the title of this question is a litle confusing, but this the problem I have recently installed a widget called Youtube Channel Gallery, which displays the latest videos on my website. ...
0
votes
1answer
25 views

Changing input type from text to multi select dropdown - skill taxonomy

Really need help with a wordpress code please. I have a field on a form which adds tags to the post. Problem is, its free for anyone to enter anything. This keep populating the "skill" taxonomy. The ...
0
votes
0answers
24 views

Display code posted by user with code format syntax highlighting [on hold]

Like here in we place the code with syntax code inside ..how can i format the user comment containing code in a neat manner for wordpress.
1
vote
0answers
18 views

Is there a way to create embed codes from wordpress/buddypress content?

I am looking for a way to create embed codes for content like, posts, images, videos, comments and buddypress content and components to be posted on external websites and apps. So for instance ...
-1
votes
0answers
13 views

Is it possible in WordPress or plugin to generate unique code system for …

I have WordPress site where two main user roles. Patients and Doctors. Currently in my site patients contact me and I refer any of my registered patient to any of my registered doctor. Now a days I ...
0
votes
0answers
18 views

Write html code in comments

For example i am writing this html code into comment textarea <pre><code class="language-php"><?php echo esc_html( get_post_meta( get_the_ID(), ‘_spp_count’, true ) ); ?></code&...
0
votes
0answers
10 views

Woocomerce .html end product error

need help, I added .html end at WooCommerce with function at rewrite. And now all, ok, but when clicking at product I got error 404,not found, example: http://ozrubai.lt/parduotuve/vyriskas-dzemperis-...
0
votes
0answers
17 views

help setting post to private

have this piece of code and it works great. I can create a shortcut like so .. http://example.com/site/wp-admin/post-new.php?post_title=Journal&category=Journal And it sets the title to journal ...
0
votes
0answers
17 views

Best way to display a complicated html page (with css and javascript)

Using html, css and javascript, I have created a appliance energy calculator tool. Here is a demo hosted on the Google Cloud Platform What is the best way to display this in full screen in my ...
0
votes
0answers
23 views

In ninja forms you can link user meta to a form. How update user meta from order id?

Question to the experts, I can not figure it out. In ninja forms you can link user meta to a form. I need this to set a limit on the use of the form. Max 1 per order (purchase / transaction). Now I ...
0
votes
0answers
24 views

'[code]' shortcode to markup programming code does not work

I have been trying to embed some simple code on a practice blog and it has no effect other than to display the tag as text. I am aware there is no code in the image but believe me I have tried. The ...
1
vote
0answers
11 views

How to save inputed data in a textbox [EDITED] [duplicate]

This was asked before. I am re-posting it, edited. So I am making a website using WordPress, and I wanted to make a text box that saves something that is typed in it. Let me explain: Users (signed ...
0
votes
0answers
95 views

Add CodeMirror in a custom TinyMCE button

I'm adding a custom button in the TinyMCE that opens a textarea where I can add code. Now since CodeMirror is included in the core, how do I make my textarea into a proper code editor? Currently I ...
0
votes
0answers
14 views

Code for cron to delete posts that contain specific expression (e.g. “unable to fetch” every 30 minutes

Please does anyone know a code that can automatically delete wordpress posts that contain a specific phrase? I want to execute it in a cron to delete such posts at regular intervals say 30 minutes
0
votes
1answer
1k views

admin-ajax.php 400 bad request - whats wrong with my code?

I'm getting a 400 bad request from admin-ajax.php & warnings from pagespeed insights tell me it's an issue. Can you see any obvious issues in the code in our admin-ajax.php file? <?php /** * ...
0
votes
0answers
18 views

Website refuses to use optimised css file & just creates a new unoptimised file

We're trying to "optimise css delivery" to satisfy pagespeed insights. When we use critical css generator on the file it says should be optimised it just creates a new unoptimised file with a ...
0
votes
0answers
11 views

Having Trouble Removing Featured Image from Portfolio Post in Agile Theme

I have been trying to remove the featured image from the portfolio page using the Agile theme in WordPress. I have tried multiple solutions throughout these forums but I cannot seem to solve it. Any ...
0
votes
0answers
35 views

Changing blog grid

I got a "problem" This is my website. I want to make the blog grid look like this on the most popular news: Instead of this: But if im trying to change the code, it will change for all the blog ...
0
votes
1answer
25 views

How to change the link on the logo at the menu?

I'm working on my site, it been done with a site builder so the logo on the menu has a default link to my homepage, but I need to change this link so it goes to another page instead of the default ...
0
votes
1answer
178 views

Updating User Meta using Theme My Login with Custom Fields

I am trying to create a better login and registration form on wordpress. I have installed TML by Jeff and it works wonderfully. However, I am trying to further extend the registration form. I have ...
0
votes
1answer
19 views

Disable File Editing function

Researching fixing errors while validating my site, I got brave and clicked Enable button at Appearance > Editor and went pass the "warning" - now getting nervous bc don't want to accidentally mess ...
1
vote
1answer
39 views

Wordpress change Language not working

My issue is, that I want to change the Language to German (de_CH) and BBPress etc. should change the language too. I know not all Plugins are available in German. However whatever I do, add them ...
0
votes
1answer
14 views

Table styles disappear when updating content

The tables on my website all have custom code for their style. Lately, when I go in to edit the content of the table (not the code), the style will completely disappear on the webpage when I update it....
0
votes
2answers
40 views

Drop down list code for sidebar

For starters, I'm not a programmer but I'm good at cut and paste. :) I want to create a drop down list that displays each post and I've done that by putting this in my functions.php child theme file ...
0
votes
0answers
12 views

WordPress Menu Caching Issue

For this website here http://stirlandbuilding.co.uk I am developing it seems the caching for the menu may be causing issues... When going to this link you will see the current page is orange on the ...
0
votes
0answers
37 views

post_id takes page_id / index.php into page-home-php / CherryFramework Parent-theme

Background Info: parent theme: CherryFramework version 3.1.5 child theme: theme50113 version 3.1.2 So I have a Homepage and added some content with the "Text-Editor", I want to have the Blogpage in ...
1
vote
1answer
33 views

Insert custom PHP head above <html> in WP pages

I've made a WordPress site. Before, I had a coded site in HTML. My new WordPress site is still in maintenance mode. But, I want to insert a PHP code above all the website content. This is my code: &...
0
votes
1answer
39 views

How to do a code in php and have text before it? [closed]

So I have this code: the_title() And I am trying to add some text before it. So, it would end up like this: PAGE TITLE: (page tile) => PAGE TITLE is what I am trying to add before my code. However, ...
0
votes
2answers
60 views

WordPress code problem [closed]

I have this code shown in the picture on top of the search bar. It appears on all pages. I have checked all the plug-ins and it is still there. I don't know what to do next.
0
votes
1answer
4k views

how to remove the top navigation bar or header top on wordpress website?

My website (bargainbosss.com) all of a sudden started displaying a navigation bar at the top of the website. I don't have that menu option checked, only a primary menu. I can't figure out how to ...
0
votes
0answers
17 views

Manage recurring event time

Hello I'm trying to make a list of medications, the time to take them is recurring so I must have a repeater and an opening time. So I created it as follows: <form action="#"> <input ...
0
votes
1answer
2k views

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'greenday_head' not found or invalid function name

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'greenday_head' not found or invalid function name in /home/xnvrtebr/public_html/Blog/wp-includes/class-wp-hook.php ...
0
votes
0answers
40 views

Send notifications to custom post author when custom post is edited

I've made a custom post type that works as a ticket service. I need to send notifications to the owner of that post (author) when the post is edited (changes status or has been saved), usually edited ...
1
vote
1answer
35 views

What kind of data is that?

I'm going to use a plug-in in WordPress called RegistrationMagic. And I need to access the data saved for further use in front-end for a reason. I was looking the tables in MySQL and found the data ...
0
votes
1answer
12 views

Website Tablet Check Out Field Issue

So on my website of http://www.camerabeanbags.co.uk/checkout/ if you set the browser to 768px wide the 'phone' and 'e-mail address' fields can not be clicked in for text to me typed in. These work ...
0
votes
1answer
122 views

style.min.css code issue

Okay, My site report is here that I am developing - https://tools.pingdom.com/#!/bBE0r0/www.waggypetservices.co.uk/ My only issue now is that something is calling style.min.css when this doesn't and ...
1
vote
1answer
2k views

Add footer.php to Wordpress child theme

So I am using the theme of 'Mesmerize' I have created a child theme but want to change some of the footer php within the child them so when there is a theme update the changes done reverse. This is ...
0
votes
0answers
70 views

wp_editor save all content

Sorry my english is very poor. I have create a new y theme for wordpress, and create new category for user download, but in the backend(admin) i have add wp_editor(), in subcategory, but when i save ...
-3
votes
1answer
20 views

Where do I go to add a tag before the closing body tag?

I need to disable Rich Pins for one post and was told to "add this tag to the header of your page before the closing body tag. " Where specifically do I access that to add the tag? Thanks in ...
2
votes
1answer
48 views

Can I run custom php on specific pages in wordpress?

I'm making a wp site as a new frontend to an in house system that I designed a while back. I want to be able to run custom php for grabbing different bits and peices of stuff from my database (mysql) ...
1
vote
0answers
29 views

wordpress search word, “hello world” ===> ‘hello+world’ ===> ‘hello’, ‘world’

I need a Function Code to improve the wordpress search engine For example, if the user searched: Hello world First, the results of Hello + World are searched and the next results: Hello and world ...
1
vote
3answers
9k views

What is this code in my theme's functions.php? if (isset($_REQUEST['action']) && isset($_REQUEST['password'])

This code appears in my theme's functions.php, also in child theme's. I've deleted it for two times but it comes back. What is it? if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['...
0
votes
1answer
27 views

Need to create a custom page on a website

I recently started my first wordpress task and it's about creating a custom page within a website. Now I know my PHP, CSS and HTML but while I am being used to working with angular etc. this is a new ...
1
vote
1answer
4k views

Copyright info change in Theme Child PHP

Below is the file where the information is pulled from. I have tried adding the /inc folder to the child theme and adding the template-tags.php with the changed but this does not make any affect. /...
-1
votes
1answer
255 views

How to get the Woocoomerce subtotal value without tax in the hardcode? [closed]

I'm trying to find the subtotal value without tax in the hard-code. I want to use the value after people have completed an order and run some code there. I thought it was $order->...
-2
votes
2answers
165 views

Where to put include php file?

I have a third party php form code that starts with: <? include("xxx-xxx.php"); ?> <form method="post" action="https://www.xxxxxx etc etc.... Where do I have to put the xxx-xxx.php file for ...
-2
votes
1answer
24 views

Add variable : 1 Week ago

Could you explain to me how add filter date : "1 week ago" Thanks for your help /* Variables from the widget settings. */ $title = apply_filters('widget_title', $instance['title'] ); ...
-1
votes
1answer
14 views

Commenting in CSS (//) equals “none”? [closed]

I am beginner in site development and made all changes in my main theme. Now I want to transfer it all into child theme and faced this question. Are examples below equal? .entry-header-wrapper { //...
-2
votes
1answer
474 views

Code in functions.php appearing on front-end and dashboard [closed]

My WordPress theme is so minimalistic, that it didn't even have a functions.php file. But I wanted to use Google Fonts in my site. I read on elsewhere (www.designbombs.com/add-google-fonts-wordpress) ...