0
votes
1answer
12 views

Add a function call after content automatically?

I want to add a function call in the single post page after the content, one way is that I add it in the single page template, eg. <div id="content"> <?php the_content(); ?> ...
0
votes
0answers
4 views

Convert NOBLOGREDIRECT to use 301 instead of 302

Does anyone knows any process to convert the NOBLOGREDIRECT 302 conversion to 301 for WP MU sites? When you define the NOBLOGREDIRECT value to some url, it uses 302 to redirect to that url. I want it ...
1
vote
1answer
12 views

Triggering wp-cron by cronjab directly rather than with wget?

Can you just trigger wp-cron.php using "php /path/to/publichtml/wp-cron.php" rather than going through the wget method (e.g. "wget -q -O - http://example.com/wp-cron.php>/dev/null 2>&1")?
0
votes
0answers
9 views

query var “p” empty on some requests | custom rewrite rules

I am moving a site from drupal to WordPress. The "nodes" on drupal have custom "permalinks" that don't follow any rules so I have added the permalinks as post meta and create a rewrite rule for every ...
-1
votes
0answers
5 views

Unable to add quantity in woocommerce add to cart [on hold]

I want to add quantity in woocommmerce add to cart page Here is my add_to_cart.php template f ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $product; $alr = ...
-1
votes
0answers
3 views

Display the number of entries in ARform wordpress [on hold]

I am using a ARform for registration page, Arform will allow us to see how many entries for that particular form , but I want to display the same in the front end on the form page.for example 12 ...
0
votes
0answers
6 views

How to replace a widget by editing it in the child theme?

I am fairly new to wordpress. I heard that changing a theme widget in the theme itself is not a good practise. I want to edit a certain widget by copying it into the child theme. The widget in the ...
-1
votes
0answers
9 views

Wpecommerce and Woo commerce plugins [on hold]

Do you know any plugins in wordpress wherein i can export the csv from Wpe and then import the csv to Woo commerce.
0
votes
0answers
14 views

Adding Image Gallery Metabox on Custom Post Type Wordpress

I have a custom post type, and I want the users to add multiple images or attachments aside from the featured image. I want to achieve something like this, I got this from the woocommerce products: ...
0
votes
0answers
15 views

update_post_meta with JSON string

Sorry for my bad English I need to write the function update_post_meta json in the meta_value. My code $s ='a:2:{s:9:"detailbox";O.......................... .:"format";s:0:"";}}}}'; ...
0
votes
1answer
8 views

Comment form Dissappeared in posts

I suddenly noticed that comments and comment form never shows up in my website's posts: Comments in page shows up. but in post there is no comment. In single.php I have the <?php ...
0
votes
2answers
35 views

how to make a profile entry read only except for site managers

I have set some extra profile fields set in buddypress (under users profile fields), and I want to make sure they are read only with the exception of site administrators. How do I accomplish this? ...
0
votes
1answer
20 views

Add Admin menus or submenus depending on conditions

I have two plugins in two different files that add a submenu (the plugin title) to the admin panel like this: Plugin 1: function myplugin1_setup_submenu(){ add_submenu_page("mybrand", "My ...
0
votes
1answer
28 views

Changing order of db results when encoding to JSON

There is probably a very simple solution to this but I just can't work it out. I am getting some info from the wp database, bypassing WP's built in classes, then echoing the results as encoded JSON ...
0
votes
0answers
11 views

How to Display Subcategories and its Latest Post as sections or modules under the Parent Category

I want to achieve the following: When in the parent category display as follows: Parent Category Title Parent Category Description Child Category #1 Post#1 Post#2 Post#3 Child ...
0
votes
0answers
9 views

Add user role to new user admin notification email

I'm working on a plugin to try and add the user role to the new user admin notification. Just need someone to review the code and see if my approach looks right. It's pretty much the stock code from ...
1
vote
1answer
14 views

Load specific page template based on URI

I have a page template that I want to load, when ever my $_SERVER['REQUEST_URI'] is like this, www.site.com/link/147 where the number 147 will be variable. i.e. I would like a call a page template, ...
0
votes
1answer
13 views

What Role to assign remote site developer?

We have hired a developer who we communicate with via upwork. We want him to be able to make any changes to the site, except to boot us out! Which Role should we assign to him - Admin? If so, is there ...
0
votes
0answers
20 views

Category filter with load more ajax

What I am trying to do is to do an Ajax request to filter posts on category click depending on the category id, then apply load more posts by ajax. Problem: when I fire the ajax call by clicking on ...
0
votes
1answer
15 views

current_user_can('Administrator') does not return true in multisite if user is Administrator but NOT Super Admin

I have a multisite WordPress installation set up, and have a user who is set to an 'Administrator' role on both sites. However, the function current_user_can('Administrator') does not return true when ...
0
votes
0answers
19 views

Sending SMTP mail using a server with self-signed SSL

The problem I need to solve I have a web server in a network where the port 25 is blocked for outgoing traffic, and in order to send emails it is mandatory to obtain an account and use ...
0
votes
0answers
9 views

Countdown Timer to Publish Draft

I am attempting to create a way for specific draft posts to be published after a 36-hour countdown. Basically, the site allows post submissions which are voted on, and the winning post gets ...
0
votes
1answer
13 views

WP_Query always returning the last custom post

I have code that works fine on our live system, and I'm porting it to a new theme. In the new theme, the WP_Query always seems to return the last custom post. My function is: function ...
0
votes
1answer
14 views

Remove links from the_content when using filters wp_trim_excerpt

I'm using wp_trim_excerpt which is working perfectly but I want to strip the links contained in the the_excerpt (using get_the_content), I've looked online and tried many solutions to get the thing to ...
0
votes
1answer
12 views

Get post thumbnail to display favorites

I use this line: echo (the_user_favorites_list($user_id = um_profile_id(), $site_id = null, $include_links = true, $filters = null, $post_thumbnail_id = get_post_thumbnail_id())); to display a ...
0
votes
0answers
11 views

Selective menu is possible?

Is it possible to make selective category or page menu? For example category is Electronics and Sub Categories are ipod, ipad, iphone With regular menus you can choose either whole category ...
0
votes
0answers
13 views

why does my WR Megamenu colums become a long list on ipad

I have a website: http://privatequity.biz that has a megamenu on "Learn more". The mega menu looks OK on Desktop or chrome iPad emulator, but on actual iPad the menu columns are displayed one under ...
0
votes
0answers
4 views

Post body's right margin ignored on some browsers when using Twenty Fifteen theme

I haven't been using Wordpress for ages, so this can be deadly simple. But is for sure weird. I have created a deadly simple product showcase using newest version of Wordpress (blog network) and ...
0
votes
0answers
11 views

Numeric values associated to admin menu bar

I'm customizing my admin left hand menu and am having an issue coming up with some of the numbers. I've even gone through the option of counting as I save out my code to confirm their sorting order ...
0
votes
3answers
21 views

Order post by taxonomy

I am trying to write a get_posts() query to retrieve 7 posts per page. The retrieval of these posts are based on 3 different tags, "Featured","Highlighted", and "News". Now the "Featured" post take ...
0
votes
1answer
10 views

Send data to database after redirect (and popping out of iframe)

I am using $wpdb->insert to place form data into a custom database. There a multiple things happening, though. The page that sends the data to the database is caught in an iframe. I know how to get it ...
0
votes
1answer
27 views

How to override a plugin function wrapped in a class?

The class is from someone else's WP plugin and I want to adapt one of the functions from that class (there are more functions). The (edited) original code: class some_class { private function ...
0
votes
1answer
13 views

Using wp-cli can I not query pages by their title?

All of these do the same thing: wp post list --post_type=page wp post list --post_type=page --post_title=dfdsfds wp post list --post_type=page --title=sdfdsf How can I query the post by the title? ...
0
votes
0answers
6 views

Same option_id for 2 options in wp_options?

What does it mean when (according to mySQL Workbench) 2 options have option_id = 0? Just noticed this for unrelated plugin and theme holding very different options.
0
votes
0answers
12 views

Editable PDF that has a submit button that saves the pdf as an attachment

I'm wondering if anyone has had to present an editable pdf that can be saved and submitted from a webpage? I have a careers page that I would like to have users come onto, click a button to open the ...
0
votes
1answer
25 views

Menu disappears with custom post type link

I’m working with Genesis Theme for a while but never got any problems:) This is my first big issue and I dont know how to solve it. I’m making a new website with Custom Post Types and WP All Import ...
0
votes
0answers
26 views

When can a template skip the loop?

I've reached another point with WordPress where something simple is stumping me. In working with an older theme, I have some page templates that do not call the loop. They simply use ...
-3
votes
0answers
12 views

Is there any plugin which shows google adsense report for particular user in wordpress dashboard? [on hold]

I am creating open multiuser wordpress site. where anybody can sign up and start posting just like facebook and every other social network. But I am planning to pay them as per their contribution. ...
0
votes
0answers
14 views

Why does WordPress Customizer return a blank page

I am running WP 3.9.8. When I go to Appearance > Customize I get a bank page and nothing else happens. I use the customizer on other WP installs so I am wondering if it has anything to do with the ...
-2
votes
0answers
15 views

How can I remove just the prices from WooCommerce? [on hold]

I still want the add to cart, but when they checkout, it won't bill anything, just create an order on the backend. Thanks!
-1
votes
1answer
23 views

Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]

I need to show 7 posts of a certain category. The first needs to appear as Title / Date / Excerpt. While the others can just be Titles of the posts. Right now I am having trouble with getting the ...
0
votes
0answers
19 views

Next_post_link not working when I try to change text

I am using the following code to navigate through posts within a custom post type. Which is working absolutely fine. <div class="prev-item"> <?php previous_post_link(); ?> ...
-1
votes
0answers
19 views

Country specific stats [on hold]

I love the fact I can see how many countries view my blog but I can't get further insights aside from the country and number of visitors. Is there a possibility or another app which would allow me to ...
1
vote
1answer
22 views

max_input_vars: how many am I using?

I'm processing a large amount of Options in a Wordpress theme. I want to ensure I keep below the default 1000 before hitting a max_input_vars error. Is there a way to test how many 'input_vars' I'm ...
-2
votes
0answers
13 views

Which WordPress Framework to Choose for Fast Development [on hold]

I have been doing WordPress Development from last 2 months. I have watched some wordpress theme and plugin development courses. I am getting good grip of wordpress but still i have to search a lot if ...
0
votes
0answers
12 views

WP Cron does not work on MAMP server

Using PHP 5.5.10 and WordPress 4.3. No matter what, I can not get Wp-cron to work. If I visit wp-cron.php or wp-cron.php?doing_wp_cron it works after a few seconds of waiting. I.e. it echos "Hello". ...
0
votes
0answers
6 views

jquery prettyphoto insert miniatures lightbox and navigation tools

I have a question to ask: why if in jqueryprettyphoto.js if I enter the parameter: hook: 'data-relay', / I can see navigation tools, twitter, facebook but I can not save the picture. however if I ...
1
vote
1answer
14 views

“Deprecated: mysql_connect()” error when installing Roots Bedrock

I'm trying to install Roots Bedrock on my local Windows 7 workstation, and I fail miserably. This is the procedure I've been doing: Cloned the Bedrock project Copied its content in my (empty) ...
0
votes
0answers
13 views

Filter the_content() to add custom figure tags

I'm trying to implment responsive images on my site, and have all the required component parts working, and understand the concepts, but need some help putting them together; Knowing that WordPress ...
0
votes
0answers
4 views

BX Slider Controls Issue [on hold]

I have multiple sliders on one page and every slider is open in pop-up box. For this I am using bx-slider but I encounter a problem that when I open my any of slider first time on page load my control ...

15 30 50 per page