Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

1
vote
0answers
65 views

polylang + category/tag custom language link

under wordpress user can define url part for categories/tags, e.g., page.com/category/some-cat where category is user defined string part. Is there a way to define "category" (same goes for tags) for ...
1
vote
0answers
62 views

Filtering *out* a taxonomy from the admin post list

I've got a custom post type 'Speakers' that, after some time, are added to a custom 'archive' taxonomy so that they can be sorted into different sections of the site. I'd like a way to hide any ...
1
vote
1answer
31 views

Wordpress blog post url on category page

My Wordpress theme (Big Point) allows me to showcase a list of posts by category. I have set the format of my posts with a 'documents' category to all be 'links' and when I choose the 'link' format ...
1
vote
1answer
49 views

Auto login from custom registration form

I am trying to login a user from custom user registration form. My Code for Custom user Register is function register_user($data) { $userdata = array( 'user_login' => ...
0
votes
0answers
37 views

select metabox not saving selection

The code below reside in my plugin.php file, the select box populates fine from the options text area but does not save the chosen value. do not understand why. <p> <?php ...
0
votes
0answers
15 views

Is using categories for site structure a bad solution

I've been thinking about a current site structure implementation that relies on categories to build out the menu structure and the category template to render site content. As categories can change ...
0
votes
0answers
19 views

Metabox values are empty on POST

I've created a metabox for my custom posttype for a shopping plugin. But right now I have some troubles saving the data. This is my metabox view: function wpt_products_price() { global $post; ...
0
votes
2answers
46 views

Custom Post Type doesn't use single.php or single-{custom_post_type}.php

I tried to set up a custom post type in Wordpress, and everything worked just fine. Until displaying a single post from my custom post type. First it didn't automatically use the single.php (as it ...
0
votes
0answers
12 views

Wordpress field group post

I am trying to pull images from a field group I created in Wordpress. First I created a new field group. I then created a new row with the name: witb-icons and field type: loop. Then I created a new ...
0
votes
0answers
20 views

Cant edit custom post type in WordPress dashboard

i'm working with a WordPress site developed by someone else , when i login to dashboard and try to edit any custom post type that takes me to blank page for example there is a post type news and when ...
0
votes
1answer
86 views

Send notification to the admin when new custom post is submitted

I have a cpt called "auto" and i make a frontend form to create new post with "pending" status. After the post submission i would receive an email with a notification of the new post. function ...
0
votes
0answers
22 views

Changing the body of mail sent to new user registration

I am practically new in this community / forum, I hope to be as clear as possible about this question. I would like to change the body of the email sent to new users registered on my site, since only ...
0
votes
0answers
45 views

Custom drop down meta box not saving

I'm really struggling with my drop-down meta box. I created a custom post type, and am in the midst of creating shortcodes for recent posts, all posts and now featured posts. I created a custo ...
0
votes
1answer
78 views

Static page not working

First, context: I am not developing a theme, I am not mucking around with PHP. All I wanted to do was throw up a quick temporary WordPress site in a few minutes, paste my content in, and call it "good ...
0
votes
0answers
22 views

Move only new blog posts to sub directory?

Currently my blog posts are not under a sub directory : www.example.com/blogpost1 www.example.com/blogpost2 etc.. Going forward I want all blog posts to be: www.example.com/blog/blogpost3 ...
0
votes
1answer
59 views

Child Theme problems

I have a Premium WordPress theme that I created a child theme on. I can change the regular WordPress php pages and the css on the parent theme inside the child theme with no problems. Inside the ...
0
votes
0answers
20 views

Custom Post Type URL Rewrite

I am looking to create the following URL structure for a post type, /%post_slug%-blah/, and have an archive URL of /blah/. I can create this by doing custom rewrite rules, setting a post_type_link ...
0
votes
1answer
29 views

Menu not appearing in custom theme

I made a custom theme, but the menu is not showing in appearance section. I created a separate function file named function.php and the code is: add_theme_support( 'menus' ); function ...
0
votes
1answer
35 views

Customizing individual images on posts

So I'm trying to customize the output of single image in my posts, adding custom divs and classes. I found a good tutorial online here - How to wrap every image in a post with a div? The function ...
0
votes
2answers
801 views

How to change in customizer the “site identity” tab required capabilities

I'm building a multisite in which site admins have no "manage options" capability. The problem is that withut this cap they cannot see the "site identity" tab in the customizer, where they can change ...
0
votes
1answer
50 views

Moving wp-content folder

I want to move wp-content folder out of wordpress installation folder. I have set define('WP_CONTENT_DIR', '/opt/deployer/wordpress/wp-content' ); in wp-config.php file. But themes stopped working ...
0
votes
1answer
158 views

$wpdb->insert inserting two rows in database

Hi i am trying to insert data in database but $wpdb->insert insert two rows. my code for insert data is global $wpdb; $tablename = $wpdb->prefix . '<TABLE NAME>'; for ($i = 0; $i < ...
0
votes
0answers
12 views

How to create more than 3 screens in OptimizePress 2.0?

I want to create a landing page on OptimizePress and I have trouble in creating structure of landing page. Can’t create more than 3 screens in my small project, in constructor all good but in the ...
3
votes
0answers
82 views

Page load requires a trailing “/”

I have a new problem today which I didn't have yesterday. Nothing in my code had changed, which is the most confusing part. (Which means the error maybe started before some kind of cacheing?) None ...
0
votes
1answer
44 views

How to let the user create a selection of categories via the backend

Consider this: I've got a custom post type 'portfolio' these posts, or "portfolio items" all have several categories such as: "photography", "concepting", "branding" , "clientA" , "clientB" etc. Now ...
1
vote
0answers
21 views

How do I copy all “extra” data (menus, widgets, etc) from one theme to another?

I have two copies of a theme I'm developing up on my site (one was the existing file structure when I got started; the other is now set up to update automatically via git for a more sane development ...
0
votes
0answers
14 views

How to get all the posts to a image (media)?

I would like to fetch all the posts in which a particular image is used. Lets say image_xya.jpg is attached in following articles- Article 1 Article 2 Article 3 Now I would like to display all ...
0
votes
0answers
16 views

Page 2 shows same posts as on homepage

I am using Genisis Framework and eleven40 pro theme. And created a static homepage to remove the grid from the homepage everything was going fine but all of a sudden when i clicked on "page 2" it ...
0
votes
1answer
20 views

Static front page has page url not site url

I have a custom post type being used as a static page. My site url redirects to www.mysite.com/slug/my-page-title but I want it to stay www.mysite.com
0
votes
1answer
130 views

Order Taxonomy Term by date created

Trying to get the order of my custom query to display by Date created. Is this even possible with this query? Can you do a custom order? thanks for the help <?php $faq_cat_terms = get_terms( ...
0
votes
0answers
285 views

Customizing Woocommerce Product in Shop Page

I'm very new in woocommerce Customization. how can i change woocommerce shop page html structure for products to fit my own design. Please can anyone make clear how could i convert woocommerce html ...
0
votes
0answers
81 views

Woocommerce variable product doesn't save the field data

I'm trying to make this post meta into variable product meta, but it doesn't save the data! I changed `// Meta add_action( 'woocommerce_product_options_general_product_data', array( $this, ...
0
votes
1answer
394 views

How can I select a primary category?

I'm looking for a plugin or suggestion on how to select a primary/main (custom taxonomy) term in a custom post type. For example, I'm developing a Wordpress website for Musicians. I have a custom ...
1
vote
0answers
28 views

How to get Related Custom Posts?

So i am having an issue where i try to get the latest posts but also the related one from Custom Post Format - Video. Didnt see anywhere this solution/tut, is it even possible, i guess it is. I just ...
0
votes
0answers
15 views

How do I display continuous loop of multiple (4) previous adjacent posts while viewing the current post

I found a great article that enables me to display previous 4 adjacent posts here: Getting the Next and Previous Posts Titles in the Sidebar? @sorich87's explanation works great for me on my website. ...
0
votes
0answers
50 views

price filter for easy digital download

i have a website with easy digital download plugin, but this plugin not have a price filter like woocommerce. i have search on google and i have found this free and paid plugin ...
1
vote
2answers
79 views

How To: Display Custom Field on Homepage

I am new to custom fields thing. i am working on a movie review site, and looking to add movie story or plot field, i have successfully added the custom field named Story and its content is displaying ...
0
votes
1answer
55 views

DOM reference to TinyMCE editor element (button)

I guess this should be a very simple question, but I'm not too familiar with overall functioning of Wordpress / TinyMCE so I'm struggling: I've added a custom button to TinyMCE and need some kind of ...
0
votes
0answers
23 views

How to get custom field value on click as link in Browser?

Im storing urls in custom fields and display them on single post pages. What im basicly trying to do is getting the custom field value on button click what did right now was load the custom field ...
0
votes
1answer
19 views

Displaying a list of Contacts

I would like to list contacts, and I'm unsure how I should do this. Which method should I use "Theme Customization API " or "custom post type"? My contact page would look like this: <h1>Title ...
0
votes
1answer
58 views

Background image not appearing

I'm trying to add a custom background on a child theme. In the child theme's functions.php, I add add_theme_support( 'custom-background'); and the background option appears under the "Appearance" menu ...
0
votes
0answers
42 views

Why does bp-custom.php's content appear on “following” and “followers” buddypress pages?

I've made a custom buddypress page doing this: in functions.php: require_once( get_stylesheet_directory() . '/buddypress/bp-custom.php' ); Than created "bp-custom.php" in ...
0
votes
1answer
164 views

Build custom pdf from users choices

I would appreciate a bit of guidance on how we can achieve the following functionality on our Wordpress site: Users click a selection of topics on a checkbox list A custom pdf is created for them ...
1
vote
0answers
105 views

Anspress Customization: How to show logged in user votes on a single answer?

I am using Anspress plugin in my website. I customized the plugin to show the answers on a single question page. Now my problem is, I am unable to find a function which can display the current user ...
0
votes
0answers
15 views

how to create Multiple pages after one another in single page. other than home page

I am using zerif pro theme for my site . I need pages displayed one after the other , in other than home page. Please help and explain in detail.
0
votes
0answers
21 views

How can I achieve this menu structure?

I need two main sections which have subsections. Let's call them "Main section" and "Secondary section" Main section is the main page when users come to my blog, its name is "COSAS QUE HAGO" (THINGS ...
0
votes
0answers
36 views

Checklist of all posts from a custom post type in a metabox

Suppose i have a custom post type named "product". i want a metabox where all the post title of product custom post type that is already published is shown with a checkbox. how can i make this and ...
0
votes
0answers
42 views

How to pass extra variables in URL in wordpress

I am working on a application in wordpress where i will pass a custom variable as URL parameter. my problem is that when i pass this variable in url header, footer and menu will be disable. I wish to ...
0
votes
1answer
75 views

Show Header When Not In Iframe

On our companies website, we have a list of products, then when you click on a product, a popup opens with the product details. Because this was a popup (in a lightbox) I created a ...
0
votes
1answer
911 views

Integrate WooCommerce theme with a Wordpress theme [closed]

I have some questions about WooCommerce theme's integration into an existing Wordpress theme: Is it possible to integrate a WooCommerce theme into an existing Wordpress theme? Should I make my theme ...