0
votes
0answers
17 views

Editing the source of a display for posts (to category recent)

I am trying to modify a piece of code that right now just pulls posts that have been selected in admin. The goal is to get rid of that source (I don't want to select posts), and just display posts ...
1
vote
2answers
58 views

Yoast Seo Plugin - Set no-index to a post automatically when a post is set to sticky

I am a content supervisor on a wordpress site, it uses wordpress seo by yoast plugin. My duty includes analyzing the content and marking it sticky if seems fit. When I mark a particular post as ...
-3
votes
0answers
11 views

302 found while publish pages/products [on hold]

I have a strange error while trying to publish pages/products (woocommerce). When I'm trying to add new page/product it give 302 found error page. Can see the error screenshot
0
votes
0answers
22 views

Is WP API going to be around in the long term?

I am a web app developer who wants to use Wordpress as a content system, and need to access that content using an API. As a newcomer, reading about WP API, this seemed like the ideal solution. But ...
-1
votes
0answers
18 views

Get the default variation for a variable product in Woocommerce, for use in Ajax add-to-cart [on hold]

I'm trying to edit woocommerce/loop/add-to-cart.php so that customers can add variations to their cart via Ajax links. Currently, variable products just show a "Select Options" button that jumps over ...
0
votes
0answers
10 views

Using Tag name in link to post

I have 2 Tags one is named 'The Guardian' and the other is named 'New York Times' assigned to some posts. Right now my link to those posts on my home and category page says 'Read Full Article' and ...
-1
votes
0answers
22 views

Woocommerce change price for shipping country not working on checkout page [on hold]

I want to change the price for the country with the code 'CH'. My product ID is 7753, the id of the cart page is '5082' and the id of the checkout page is '5083'. Everything works fine for the ...
0
votes
1answer
36 views

where to change text for header?

on the twentyfifteen theme. When I click on the customizer to set my header, There is some text there that says. "While you can crop images to your liking after clicking Add new image, your theme ...
-1
votes
0answers
7 views

How to add more drop down menu tab like link, post and product category in my theame drop down menu are limited?

Please help me... I'm going to open an eCommerce site. In my wordpress theme I am unable to add more than 41 drop down menu in my site including sub tab or category
-1
votes
0answers
15 views

Adding a custom registration and login system for WordPress site

I have created a user registration and login system and they are working perfectly on their own. I have four php files. Index.php that checks if there is an active session and displays relevant ...
0
votes
0answers
18 views

Display a fallback image when a specific metabox is empty [on hold]

I am having trouble displaying a fallback image when there is no image uploaded to a custom file metabox. My file metabox is call depmayorShot and when it is left blank is is suppose display ...
0
votes
0answers
17 views

How to wp_redirect on 'init' hook on condition of current post id?

I have made a shortcode, because we can't redirect page within shortcode using wp_redirect so I used 'init' hook to check the $_POST/GET parameter and make system redirect. But I'm stuck in a ...
0
votes
1answer
11 views

Custom slug in front of search URL

I'll try explain this the best I can... I have a search form on my homepage: <form role="search" method="get" id="searchform" class="form" action="<?php echo esc_url( home_url( '/' ) ); ...
1
vote
1answer
22 views

How to test pagination?

I've been building a theme from scratch so writing everything from nothing and every place I go online which teaches me how to implement pagination are mostly showing ways to make the standard ...
-1
votes
0answers
16 views

How to add a query string to all url of a page category (woocommerce shop category)?

I need to display by default the list view activated by the query string "?product_view=list" only in certain category list pages of my choice (es: ...
-1
votes
0answers
11 views

breadcrumb link in woocommerce

I'm using woocommrce with superstore theme. I have some php pages that I have coded outside of wp. I have added my theme header and footer includes. The breadcrumb link is returning a 404 page not ...
0
votes
0answers
9 views

Search within multiple authors posts with Relevanssi

Is it possible to search within multiple authors posts? When I try to create a array and pass it to the query it gives me: explode() expects parameter 2 to be string, array given in ...
-2
votes
0answers
14 views

Stock Quotes Search Tool [on hold]

I want to create basic search tool that can search for a stock by the name of the company or ticker like the one on the following web page: http://www.dailyfinance.com/tag/personal+finance/ Does ...
0
votes
2answers
24 views

Post thumbnail on specific template

I know it is possible to have enable post thumbnails on a specific post type, but is there any way of doing this just for specific template?
0
votes
0answers
11 views

Slide video or gallery in post [on hold]

i need something like this :- http://www.gameranx.com/features/id/9633/article/14-most-offensive-video-games-ever/#p2 This URL show post like slide in post. How can do that ?
1
vote
1answer
15 views

Custom login with external provider iframe and data object

I'm trying to couple an external authentication system as a replacement of the actual WordPress login, but this external authentication system is a little bit weird according to many tutorials and ...
-1
votes
0answers
16 views

Managing Google Calendar Events with Google Calendar Events plugin [on hold]

I have been trying to get the Google Calendar Events plugin working on ma wordpress site. A Youtube video shows a way to do it, which I followed. Anyway, whenever I try to add an event, instead of ...
0
votes
1answer
43 views

How to check if a product is purchased within the last 365 days before displaying something

I have a WP site using WooCommerce. Our products are made up of physical stock, a download and some links to pages on our site. I had set this up by placing the links to the specific product pages ...
0
votes
1answer
22 views

How To Make My Theme Full Width…? [on hold]

How To Make My Theme Full Width..My Theme Is http://www.wpexplorer.com/gopress-wordpress-theme/
0
votes
1answer
13 views

Link to Homepage in Menu

I am using the mh-newsdesk-lite wordpress theme in one of my client's websites and I'd like to have a link to the homepage in the menu. It ideally would be accomplished without php, or without any ...
0
votes
0answers
17 views

I have established a press website which I would like to transfer to Wordpress

I have established a press website which I would like to transfer to Wordpress. It reaches a minimum number of 100,000 daily visitors and a maximum number of 1,000,000 daily visitors, publishing ...
0
votes
0answers
17 views

wp_editor content in plugin options page

Hi I'm writing a plugin it involves the site builder / user adding content via wp_editor this content is then saved and submitted via a submit_button. I've wrapped the editor in form action = ...
-3
votes
0answers
8 views

i cant see my former contents and it doesnt upload latest ones

for more than three months i created a blog in wordpress, but i created it online without installing wordpress in my computer, since then i have been managing my blog successfully until now that i ...
0
votes
0answers
25 views

How to link attached images to the current post?

I am using TwentyFifteen theme and on homepage, it's display all the attached images of the post, but the images are linking to the full size instead of the post. I know there is an option to add a ...
0
votes
1answer
23 views

I'm hit with: undefined constant register_sidebar. Once in debug mode? [on hold]

I'm attempting to test my theme and I switched my config to debug true and I'm now hit with "Notice: Use of undefined constant register_sidebar - assumed 'register_sidebar'" I'm struggling to fix and ...
-2
votes
1answer
15 views

Show/Hide Mailpoet form [on hold]

I'm using the mailpoet plugin for wordpress with a shortcode. The shortcode is: [wysija_form id="1"] I'd like to have a function that when I click a button, the button disappears and the form is ...
0
votes
2answers
19 views

All attachment pages give 404

I have a major issue with wordpress on my new website. Anytime I upload a new media, its attachment page gives me a 404. My permalink structure is the following: baseurl + ...
0
votes
1answer
35 views

change plugin shortcode function [on hold]

i use a plugin that containing this code and i want to change the css and js and template.php location to be located in my template directory instead of plugin without editing the plugin files public ...
0
votes
1answer
14 views

Display Data From This Custom Media Upload Meta Box?

This plugin is working without any issue on CMS. Now I need to know how to properly display them in my post. Custom Media Upload Meta Box Plugin. $meta_box_media_upload = new ...
0
votes
2answers
28 views

Which hook runs first(init,… or ???) [duplicate]

For example,any "naked" code, i.e.: IF ($_POST) then...., runs directly, before any WP action. for example, this runs later (even with point 1): add_action('init','my_function',1); I want to ...
0
votes
1answer
16 views

wpdb->get_var always returning 0

I am trying to run this statement: global $wpdb; $amt = $wpdb->get_var($wpdb->prepare("SELECT SUM(amount) as amt FROM wp_pay_table WHERE postid = %i", $pid)); ...but $amt always comes out as ...
0
votes
1answer
21 views

add custom field to custom post type

I want to add custom field of file uploading control to upload image files in my custom post type page(New/Edit). I have searched in Google but no tutorials have been found. please, help me. Thanks in ...
0
votes
0answers
17 views

How do I block access to a specific WP page to all IP addresses, excluding one?

I'm quite new to WordPress, and I've just set up a landing page for some internet kiosks I manage. I want this landing page to only be accessible from a certain IP address, and some sort of "access ...
0
votes
0answers
12 views

Quicktag button to automatically add a custom field to a post

Is it possible to add a quicktag button to the Wordpress add post editor which when clicked will automatically assign a custom field to a post? Sometimes I have 50 scheduled posts, 30 of which have ...
-1
votes
0answers
24 views

WooCommerce Cart Problems when not logged in [on hold]

I have a problem with WooCommerce only when I am not logged in: if I add a product and I navigate to shop page or home page, next code gives me zero: echo WC()->cart->cart_contents_count If ...
-1
votes
1answer
17 views

WordPress plugin add_filter returning a link does not work. What is the correct way?

function ls_de_options($content) { return '<h3><a href="www.google.com">Hello World</a></h3>'.$content; } add_filter( 'the_content', 'ls_de_options' ); ...
0
votes
0answers
21 views

Does Genesis limit my choices? [on hold]

I am a developer considering using the genesis framework for my next project. I've built several sites in the past using plugins, etc. that I'm used to working with. My question is: if I use Genesis ...
0
votes
4answers
41 views

How to add a custom CSS class to ALL links

Is it possible to add a CSS class to ALL links generated from the HTML tab of the post editor? That is to have the part class='myclass" added automatically? <a class="myclass" ...
0
votes
0answers
21 views

posts not show after changing permalink

I changed My Permalink in setting area in the dashboard menu After changing the permalink, the setting worked and changed the links, but posts content are not showing up and the links go to not found ...
0
votes
0answers
11 views

Query custom post in tag archive

I created a custom post and added the standard Wordpress tag functionality: function btp_work_register_post_type() { $args = array( 'label' => __('Works', 'btp_theme'),'labels' ...
0
votes
1answer
73 views
+50

WP_Session not acting with AJAX

The concept is to put a Button in Post Content which the user will click. Two things - The ID of the post and Number of times the user clicks the Button should be displayed. Reason - With this we ...
0
votes
1answer
10 views

Display Published Posts Count for Certain Time Period

I need some kind of plugin (if it exists) or a wp query which would display number of posts published within a certain time range. For example: I need to know how many posts have been published ...
0
votes
0answers
11 views

Massive photogallery import

I have this scenario: about 200 photo galleries to recreate in Wordpress from an old wordpress site. All I have is the .xml WXR for the post_type "photogallery" that basically creates the gallery and ...
-1
votes
2answers
31 views

Woocommerce linking variations

So I have this array (just taking an example, it's dynamically built up): $v_values = array( array("C1","C2"), array("F1","F2") ); $v_name = ...
0
votes
0answers
8 views

Blog page and post redirecting to home page

I am using Jobrooler wordpress theme for one of my website with custom post type. On the home page the jobs are showing and working fine for me. But when I am accessing the /blog page and posts then ...

15 30 50 per page