0
votes
0answers
2 views

How to split long posts in multiple pages in twentysixteen

I am using twentysixteen WordPress theme, Whenever i tried to split long post in multiple page by tag nothing happened. Kindly help me.
0
votes
0answers
3 views

How to combine WP_Post Object and WP_Term Object or how to get category from WP_Post Object?

I'm new at this so please accept my apologizes if this question has been asked before. I'm trying to get the category slug from a post and need to know what's the best to extract the data: either ...
-1
votes
0answers
8 views

When i click on tag it shows to choose file! Why?

when i click on a tag, lets say http://example.com/tag/technology/ , it shows me the following: Anybody knows why this is happening? I tried to deactivate all the plugins but nothing changed.
0
votes
0answers
3 views

Add file / Custom Field / Register form

I'm using thememylogin plug-in to register the user of my website. I would like to add a custom field with input-type="file" but i need that the uploaded pictures have to store into my wordpress ...
0
votes
0answers
4 views

Force Jetpack to use og:url with http on an https website

I moved my site from http to https, but I wish to preserve my facebook likes. From what I read, I should use the og:url metatag so that facebook will know how to fix the likes on that page. I tried ...
0
votes
0answers
5 views

Where can I find an 'Redeem code/Enter code and win" script? [on hold]

I will send offline cards with unique codes to my customers The customer needs to fill in this code online and his e-mail, name, adress and charity to donate to. Then the script needs to check the ...
0
votes
0answers
10 views

How to hook into admin javascript/ajax actions?

I've got a problem. I'm adding custom columns and contents to term lists on admin term/taxonomy creation/editing page. I'm using the classic 'manage_edit-{$taxonomy}columns' and 'manage{$taxonomy}...
1
vote
0answers
19 views

Using google reCaptcha without a plugin

Wordpress noob here wondering how to include reCaptcha authentication in my login without a plugin? So far I have added the captcha div into the login using a hook: add_action('login_form','...
0
votes
0answers
6 views

Simple Calendar jQuery Conflict with Genesis Custom Child Theme

I am using the Simple Calendar Pro plugin on a custom genesis site. Currently I am using the grid calendar on the events page however the tooltip is being hidden under the calendar. First I thought ...
0
votes
2answers
26 views

How to custom post navigation

I'm not an expert in PHP but would like to customize the pagination of my posts. Instead of having : prev 1, 2, 3, 4, next I would like : Prev 1 of 4 Next It seems I have to modify my single....
1
vote
0answers
13 views

prevent deletion of blogs

Trying to prevent deletion of blogs in wpmu. There is allready a plugin that does this, but it uses wp_die() as the sultion, which in my scenario does not work. I want the wpmu to work as regular, so ...
0
votes
0answers
17 views

Why some plugins are including wp-includes/plugin.php file?

By seeing the wordpress core I understand that plugin.php is being loaded way before plugins are loaded. But yet some plugins are loading it again. Any advantage of reloading the plugin.php? And ...
0
votes
1answer
14 views

Add child pages of parent to navbar PHP

I'm using a function in a custom theme which auto-populates the navigation with all the child pages of each parent. I found the code on this site This works well but the only thing this function ...
0
votes
0answers
15 views

Add user profile button to theme menu

I'm new in WordPress development and I installed latest WordPress version and latest plugin BuddyPress version. Now I disabled WordPress admin bar for non admin users and I want move user profile ...
-3
votes
2answers
23 views

Centering pictures for custom post

this is my first post here! :) I must say I'm still new to Wordpress. I was searching a lot but I didn't understand how to fix this. I'm using custom post with plugin called Pods. I'm using it's ...
0
votes
0answers
9 views

Custom taxonomy query rewrite

I have custom taxonomy "tax" with a term "term" and different post types in that term (custom post types, posts). Taxonomy url is example.com/tax/term/ and that shows all posts that belongs to that ...
0
votes
1answer
15 views

Set up PHPUnit with WordPress: The WordPress tests are 3 - 4 years old; does it matter?

I'm trying to set up PHPUnit with WordPress, and the tutorial I found tells me to download this repository so that I can bootstrap the WordPress environment to run my tests. The only issue I have is ...
0
votes
1answer
14 views

“Lost password” page triggers 404

I have a WP 4.5.3 with Wiz theme and two other plugins (other than the ones bundled with Wiz): WP Customer Area and WP-Members. https://www.ukulele.it/wp-login.php Try clicking "Lost password", you ...
-1
votes
0answers
7 views

WPML translate option not showing for custom post types

I have wpml configured on my website. For default posts it shows the translate options as you can see in the image below. Bur for custom post type it is not showing the translate option. I did ...
0
votes
0answers
4 views

jQuery this function [migrated]

$('.delivery_option').click(function() { var current = $('.active-radio-label'); if (current.length) current.removeClass('active-radio-label'); $(this).addClass('active-radio-label'...
1
vote
0answers
10 views

Combining categories (Query posts with multiple taxonomy terms)

I'm attempting to display a list of all posts from multiple categories (if anyone answers this, you might want to include combining tags as well, as probably that will make this answer comprehensive ...
0
votes
0answers
14 views

Custom post not showing

I created custom post type in my functions.php with the following code: function awesome_custom_post_type(){ $labels = array( 'name' => 'Portfolio', 'singular_name' => '...
2
votes
1answer
85 views

How to remove the WordPress version from some .css/.js files

I know that I can use the following function to remove the version from all .css and .js files: add_filter( 'style_loader_src', 'sdt_remove_ver_css_js', 9999 ); add_filter( 'script_loader_src', '...
0
votes
1answer
5 views

AJAX call in backend results in empty update_option

In the admin backend pages I get some settings saved in a multidimensional array, update them and then save them again in an AJAX callback function. The problem is that the saved settings are empty, ...
0
votes
0answers
6 views

Wordpress - post 2 post search through relation

So I have a WordPress site with events. I have an event post type and an eventdate post type. events have many eventdates connected to them. What I want to do is a WP_Query on the events but I want it ...
0
votes
0answers
8 views

How to update table in woocommerce product_attributes page

This is here edit.php?post_type=product&page=product_attributes and this two tables comes from class-wc-admin-attributes.php . How to update this tables in woocommerce product_attributes page? Can'...
0
votes
1answer
14 views

Add a role and give admin priviledges

I am creating a Super Admin role in wordpress Roles. $capabilities=array(); add_role('Administrator', 'Administrator', $capabilities ); add_role('Super Admin', 'Super Admin', $capabilities) ); So ...
0
votes
2answers
35 views

Remove H1 / title / Underscore - without CSS

I have tried searching, and tried a few options, but I'm not able to remove the H1 / title / Underscore for specific pages. I don't want use CSS. I would like to remove it via functions.php or in ...
0
votes
1answer
24 views

Highlight parent menu item when child post

I'm using this snippet for marking the parent navigation active when on custom post type single page: add_action('nav_menu_css_class', 'add_current_nav_class', 10, 2 ); function ...
0
votes
0answers
8 views

Visual Composer Post Grid Filter position and markup

I am trying to alter the position that the filter appears for posts grids and also alter the markup of the filter but am so far unable to do so. Simple Set Up This is how I have created my post grid ...
0
votes
1answer
24 views

Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?

I have a problem understanding the behavior of the Attachment Page Permalinks Into Setting-->Permalinks I have set http://www.example.com/sample-post/ as the preferred setting. When I upload an ...
0
votes
0answers
22 views

remove post that has no content

Code below display posts now I only want to display the items if it has a <?php echo c2c_get_custom('Gallery'); ?> on it. <ul id="gallery-container"> <?php ...
-1
votes
0answers
10 views

Contact form disappeared [on hold]

strong text My website got hacked and I restored it. I have fixed the broken images as well but contact form disappeared, but field name is present. I have attached images. In this image I need ...
-1
votes
0answers
12 views

How to create unit tests for Wordpress and Woocommerce

I am interesting writing or utilizing existing unit tests for my Wordpress and Woocommerce site. It is getting bigger and new custom features are being written and improved all the time. I want to ...
-2
votes
0answers
8 views

Different page background if different pagination page gravity Forms [on hold]

I am using gravity forms plugin and using the pagination field. Depending on what stage of the pagination I am on, I need a different background image on the page. The issue is the actual page id ...
0
votes
0answers
12 views

Website error when I backed up my website from my old web host and restored the site onto my new web host

I just recently backed up my website from my old web host and transferred the domain to my new web host. I then restored the database files and SQL files as well as corrected the configuration.php ...
-2
votes
0answers
14 views

Need code: Space between page info and buttons and space below the homepage image [on hold]

This is my website: http://musetude.com/ There is some space between the navigation pane and the page info. I would like the image to move directly beneath the buttons. Could you please help me with ...
-3
votes
1answer
26 views

Is strpos not working inside functions.php?

I'm trying to load a custom template whenever a certain string comes up in the URL. I've tried putting this in my functions.php, but it's not working: add_filter( 'template_include', 'paged_home', 99 ...
1
vote
1answer
15 views

how to get the comment ID in the front end when the REPLY button is clicked?

I think I might be able to parse the URL for the replytocom parameter and get the comment ID from that. However, it would mean that my plugin would not be fully compatible with other plugins that can ...
0
votes
2answers
33 views

spliting posts into two columns

This is a continuing question from Merging a complex query with post_rewind and splitting posts into two columns Hi, I need help with my loop. What is does is split posts into two columns. <?php ...
-1
votes
0answers
17 views

Redirect if cookie isn't set does not work

I use cookies on my websites and these cookies should be deleted if an user isn't on a specific page. This works perfectly but the problem is that if a user is on the page and goes to another page ...
0
votes
1answer
20 views

Can some vulnerabilities in plugins be exploited even when the plugin is inactive?

I just received a notification from the developers of the Wordfence security plugin of several vulnerabilities that exist in other popular Wordpress plugins. One example in this case is a mailchimp ...
0
votes
1answer
33 views

Programmatically Create Category and sub Category

i create category have name Brand with this code. i have total 3 categories and each have 3 subcategories. how to output 3 category and 3 subcategories for each category? function.php code ...
1
vote
2answers
22 views

Does get_template_part pull data once in a loop?

When i use the "get_template_part();" inside a loop, does it search for that template file every cycle of the loop (each post) or does it search for the file once and then reuse it every cycle of the ...
-1
votes
0answers
11 views

Make Whole Site 404 But Not Login Page to Allow Me Login to Dashboard And Edit Posts [duplicate]

My website has no other users only one admin(Me). I searched many maintenance plugins but no one returns 404, Is there a way I can hide site from search-engines+users with 404 headers. But only login ...
0
votes
2answers
49 views

Need to turn this php into WP shortcode

I need to turn this code: <?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?> into a shortcode. Can someone help me do this? I have researched but am just lost to be honest. ...
-2
votes
1answer
23 views

Default post type doesn't display in url

My site currently has an opinions page which displays opinions posts (/opinions/). The post pages are only showing as /post-title/ when I need /opinions/post-title/. Code below, changes the default ...
-2
votes
0answers
10 views

Trying to make Divi's Theme dropdown menu OnClick instead of hover [on hold]

I'm using the DIVI theme and making some relatively simple modifications to it to better suit my needs. One thing I'm having some difficulty with though surprisingly is swapping out its vertical menu'...
-2
votes
0answers
14 views

CSS Menu Button - Driving me crazy [on hold]

Going crazy trying to get a fix for my menu contact button...any help would be amazing...see here: http://bit.ly/2a4OfSc The contact button is all white see through but for some reason I can't style ...
-2
votes
0answers
9 views

How can i call class file from one page to another page [on hold]

I have maintained offer coupons promotions site, in my product page defaultly displayed store logo, i need to display defaultly displayed store logo into my thumbnail of the product image when there ...

15 30 50 per page