0
votes
3answers
34 views

Are there any downsides to not using get_header(), get_sidebar and get_footer()?

I am an experienced PHP developer and I am doing my first WordPress project. For reasons I am not going to go into, I don't want to use header.php, get_header(), sidebar.php, get_sidebar(), footer.php ...
0
votes
0answers
13 views

WordPress new embeds don't work

I'm trying to use this new WordPress functionality, that allows me to embed WordPress posts from one site to another. The one, where you just drop a link to a post and it transforms into a nice iframe....
0
votes
1answer
18 views

Programatically inserted posts not showing in Posts Table

I'm trying to insert a custom post through a form. It's a brief post, most content are custom meta fields updated with add_post_meta. So far, post inserting is working fine, except for a detail. This ...
0
votes
1answer
21 views

Custom Woocommerce Category view

I'm kind of new to wordpress development and I'm trying to make a plugin so I can show all the categories I have in a list. The Idea is to customise the default view Instead of the default list: I ...
0
votes
1answer
25 views

Only Get A Certain Number of Posts From WP_Query

I'm not sure what I'm doing wrong. None of my WP_Queries are returning the given number of posts. From what I can tell, it's returning all of them. How do I fix this? Here is the code I'm currently ...
0
votes
1answer
22 views

Shortcode call not working in WP Template

I'm working with a Visual Composer shortcode to call a text resizer into being. When using the Visual Composer or the classic WYSIWYG, if I insert it's shortcode [enlarge_text small='A' ...
0
votes
0answers
14 views

Show siblings (if any) and parents

My question relates to showing the parents and siblings of the current page. If I am on level 2 page, I would like to show siblings without their children. If I am on level 3 page, I would like to ...
0
votes
0answers
19 views

Rewrite acting as intended - but not changing url

I am trying to make this rewrite work, and it isn't working as intended. In the code below, player is a custom user_type. When I click on that player, I want to follow a link to his userpage (...
0
votes
0answers
9 views

Get a color name from any RGB combination (script included) [migrated]

i am returning a hex and an RGB color in my app (from camara) and i want to use a script to identify that color and display a name... ive found http://gauth.fr/2011/09/get-a-color-name-from-any-rgb-...
0
votes
0answers
26 views

Custom Meta Box Image Gallery Not Saving

I'm having an issue of a custom meta box I'm building based off of WooCommerce's Product Gallery meta box. The meta box is not saving for some reason. I've tried some options from many different ...
0
votes
0answers
15 views

Woocommerce echo last updated?

How can I make it to print out a "Last Updated: XX-XX-XXXX" each time a Woocommerce product is updated? I sell ebooks and I want it to appear every time I update the product so my clients know when ...
-1
votes
0answers
28 views

Stop and start parallax background [on hold]

I'm trying to make a page in WordPress in which a visual element moves down with the viewport, but once it reaches a certain point it should stop and follow the page up as the user scrolls down. I've ...
0
votes
0answers
11 views

option tree - resize image gallery

I want to resize image of gallery metabox in option tree. I searched for solutions, but without success. This is my code and it's working fine, but the images do not resize : if ( function_exists( '...
0
votes
1answer
31 views

Custom rewrite permalink doesn't work

function create_posttype() { register_post_type( 'events', array( 'labels' => array( 'name' => __( 'Events' ), 'singular_name' => __( '...
0
votes
0answers
17 views

Rewriting a page with a custom parameter

I have an issue similar to this one: Rewrite Rule for Custom Page with Query Vars in URL We have those two rules we're trying to add through the Rewrite plugin. We tested it and the GET parameters ...
0
votes
0answers
21 views

Copy WooCommerce tags in WooCommerce Categories [on hold]

How i can convert WooCommerce tags in WooCommerce Categories? i know that a plugin done a perfect job for standaed Wordpress installation, but didn't work on WooCommerce, thank you
0
votes
1answer
22 views

Short links in wordpress not working properly

Short links generated by wordpress is not working for post permalinks like this: https: //www.mysite.com/test/mypage It's working if the permalink looks like this: https: //www.mysite.com/mypage ...
0
votes
0answers
26 views

Form to custom post type and custom taxonomy 2

Following on successful addition of custom taxonomy with a great help here I've been banging my head on the following three things. How would I add another taxonomy "trademen-category"? How would I ...
0
votes
0answers
15 views

SSL and WordPress Infinite Loop

I have the following htaccess directives that results to an infinite loop in Firefox (Windows) and IE (Windows) and possibly other browsers (iOS safari). On Chrome (Windows/Android) it works fine: # ...
0
votes
1answer
48 views

Show global Message in User Profiles with admin only Input field in Wordpress Backend

I try to display a piece of text (without plugin) for example "Quote of the day: Some text" on all user profile pages (.../wp-admin/profile.php). This Text should managable/editable from the Profile ...
0
votes
1answer
17 views

No compression occurs on my jpegs after adding jpeg_quality hook to my functions.php file

I'm attempting to perform some basic jpeg compression by using the jpeg_quality hook inside my functions.php file but there is no compression/resizing taking place. I'm only measuring file compression ...
0
votes
0answers
33 views

Get category ID from the sidebar on multiple pages

I'm trying to display category custom field (extra-details) on post pages outside the loop in the sidebar. The below "works": <?php $cat_id = get_query_var('cat'); if(empty($cat_id)) { //which ...
0
votes
0answers
14 views

Issue with temporary link on the frontend

I have a site working with a custom post type (Exhibition), and custom taxonomies (Exhibitions -> Current, Future & Past). When I display the archives for the Future and Past taxonomy values, it ...
0
votes
0answers
14 views

Generated short-codes don't seem to work

I'm using "Photo Gallery" plug-in and W3-data. Then there is a page where I want to display one gallery (of photos) per user. So using w3-data I generate the short-codes that I would like to have ...
0
votes
0answers
20 views

taxonomy_radio is not showing anything in the front-end in cmb2

I am building a website in where I want to show the tag selected from the custom fields (mainly from radio button). I have setup the cmb2 as like below the codes.. add_action('cmb2_admin_init', '...
-3
votes
0answers
25 views

User login password expire setting [on hold]

For the login user role, Is there any way to set a deadline of password? For example, the user password will automatically get expire after some time (30 days, 6 months and 12 months...). They need ...
0
votes
1answer
30 views

Form to custom post type and custom taxonomy

I am actually learning still. so if my question sounds a bit silly. kindly pardon me. But I seriously need help here. Using the links below, I managed to get the form working to the extent that it ...
0
votes
0answers
25 views

Using external function() from functions.php

Does anyone know how to use a function() which is written in a plugin file... I want to call this function() from theme's functions.php.
0
votes
0answers
18 views

Ajax custom taxonomy and query_posts

I'm trying to add ajax load more function on my custom taxonomy template. I'm stuck, It works for me on category templates and stuff, but not on taxonomy template (archive). So, here's my loop ...
-2
votes
1answer
28 views

Wrap every 2 divs in row - for each loop [closed]

For some reason, having a bit of a nightmare wrapping every 2 divs in a row in this for each loop.... Could anyone shed any light on it at all? <?php $terms = ...
0
votes
0answers
11 views

WordPress edit.php page not fully loaded?

As seen in picture above the page isn't quite loading properly. I can add a new post, but it just doesn't load TinyMCE and some other WordPress features. The weird thing is, this actually does work ...
1
vote
2answers
59 views

How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?

How to remove the: {site} / Proudly powered by WordPress in bottom of generated pages using twentysixteen (2016) theme on version 4.5.2? Would prefer if this change was not affected by later ...
0
votes
1answer
23 views

customizer live preview layout picker

I'm trying to create a layout picker option using the wordpress customizer. What i've done so far works except for the live preview. when i change an option in the customizer for example left sidebar ...
1
vote
0answers
20 views

Wordpress Media frame pre load images from ids

Im using custom metabox button to create wp media frame with this code, var frame, selection, idsField = $('#_fills_ids'); frame = wp.media({ title: 'Select or Upload Media Of ...
0
votes
1answer
22 views

Multiple subsites in a single wordpress installation

Is it possible to create multiple subsites with in a single wordpress installation? I have to create one hospital website with subsites for all its branches. Here is the example http://www....
-2
votes
0answers
23 views

How to create an inquiry form in Wordpress [closed]

I am currently working on creating tour theme for wordpress. I am looking for ways to create an inquiry form that visitor can submit inquiry. After visitor submit the inquiry, it will - ...
0
votes
1answer
11 views

Moved Wordpress to other folder (Windows) WAMP = 403 Forbidden

I am using a local install of Wordpress for offline development on a Windows 10 machine, with WAMP on the server side. This morning I have moved the folder containing the wordpress from c:\users\...
3
votes
1answer
44 views

Save Filter for Taxonomies

I want to get rid of undesired HTML, mostly being published by my editors when copying text from other sources, like other pages or from Word Therefore I use add_filter( 'content_save_pre' , '...
-1
votes
0answers
17 views

Pagination in wonder plugin grid gallery is not working [closed]

I am using wonder plugin grid gallery for my site. But it's pagination or load more options is not worked properly.In setting options i have done all modifications. I have to show load more options ...
-3
votes
0answers
23 views

I'd like to unset some available payment methods when a user is add Woocommerce Account Funds Deposit amount in Shopping Cart [closed]

Now I'm setting up a website that sells music online. I used WooCommerce for online shopping and used WooCommerce Account Funds extension to allow users make deposit amounts in their accounts. Now, I'...
0
votes
0answers
19 views

Slow query in admin on custom post type

i get an slow query in my CPT listing. the query weight over 700M. I've ~2500 posts in this CPT and in a custom taxonomy ~1500 terms. This is normal operation? The slow query : SELECT t.*, tt.*, tr....
0
votes
1answer
28 views

More than one text-domain is being used because of the included templates for plugins

I added bbPress and WooCommerce in my theme and override some templates too. These templates contains textdomains like bbpress and woocommerce. Unfortunately I got the following error in Theme-Check: ...
0
votes
1answer
68 views

The post order is different for logged-in and non-logged-in users? [on hold]

I noticed that for some reason on my site, the post order changes depending on whether a user is logged in or not. When I am logged in as the admin, the posts display is chronological order. But when ...
-3
votes
0answers
18 views

Create Slider Video and Image [closed]

How to create slider with content video and image with or without Wordpress Plugins? Example slider <| video | image |>
-1
votes
0answers
25 views

Why was I subscribed to a WordPress blog that I didn't subscribe to? [closed]

Out of the blue, I get an email: "Congratulations, you are now subscribed to the site (Name Removed) (http://www.example.com) and will receive an email notification when a new post is made." ...
0
votes
1answer
41 views

Exclude current post from an array of posts?

I'm trying to exclude the current post from an array and I know that the codex says that it's not possible to combine post__in and post__not_in in the same query... But in wordpress everything (well, ...

15 30 50 per page