Forum Replies Created

Viewing 15 replies - 1 through 15 (of 146 total)
  • Plugin Author nwjames

    (@nwjames)

    I have been away for some days, so sorry for a delay in replying.

    There is a capability to choose the ordering of the columns on the admin screen. It is the sixth option under the Taxonomies tab. There could be an issue there.

    Please select that option; and it will give tabs for all post types involved in the taxonomies. Click on the appropriate post type. You will see a list of taxonomies that will be the order of display. Change the order of the taxonomies and then click the save button. You can move the order to back as it was; the important thing was you had to move something to activate the save button.

    Then look at the edit.php?post_type screen to see if resolved.

    Regards,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    Thank you very much for this. Looking at the template, the call to output the terms is

    the_terms( $post->ID, 'fe_author', 'by ', ', ', ' ' );

    I see that you are using PHP 8.3 – which is getting more strict in its processing. You want $post to be the global $post and not a local one. I don’t know that this is the issue, but it can be made explicit by adding global $post; to the line, i.e.

    global $post; the_terms( $post->ID, 'fe_author', 'by ', ', ', ' ' );

    Alternatively, you can make it (as used a couple of lines earlier):

    the_terms( the_ID(), 'fe_author', 'by ', ', ', ' ' );

    Hope this helps,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    Thank you very much for this.

    Thank you for clarifying that you have changed from WP 6.2 as the issue could have arisen from the earlier releases..

    Sorry for any confusion about the test I asked you for. This was an attempt to identify whether we could quickly get the taxonomy value printed out – but it relied on having a the_content() or the_excerpt() in the template. It was not to resolve the issue – not least of all it will be at the end of the content.

    Sadly the copy of the template did not come out as a single block of code. And, in particular, the part where the taxonomy is output of which the trailing part is ID, ‘fe_author’, ‘by ‘, ‘, ‘, ‘ ‘ ); ?>. It would be useful to know what the complete function is please. It will be from the <?php immediately before this text.

    The taxonomy applies to both pages and attachments. Which type was it please? I am somewhat disconcerted to see your statement that the setting of the terms did not take. I loaded your taxonomy into my system and the Classic Editor plugin as well. I found no problem to add terms – including using the Quick Edit function.

    Thanks for any clarifications you may make,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @wwebbymaster ,

    You need to ensure that on the Visibility tab has the Display a column on admin lists ? value set to True for each taxonomy required.

    Regards,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @robby-barnes.],

    Thanks for sending the definition through. I have tried it – and it works fine.

    However, fine means that in normal use, the taxonomy does not appear in the Front End.

    As a test to see whether it will appear, you could try temporarily setting the Display Terms with Posts option to Content and excerpt. This should ordinarily output on the page the value of the taxonomy term, though it does depend on whether your template uses the_content() and/or the_excerpt() to display these fields. You should in any case revert the option to None.

    Since you want the By line to appear near the top, you’ll need to amend the templates. I tried looking at the WP 6.7 changes, but nothing seemed to be relevant from a quick reading.

    Would it be possible to make available the Article template page please?

    Note. Since the By-line should appear before the content or excerpt, if your test does output the author term, then the code for the By-line will appear before the code the_content() or the_excerpt() so only that section is needed.

    Regards

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @robby-barnes,

    I am sorry to hear that you are having problems with my plugin and WP 6.7 and thank you for raising it with me.

    I have looked at the page. I can agree that there is no reference to this taxonomy there.

    Please could you do two thing to help me identify the problem:

    1. Go into the Taxonomies screen and, for the fe-author taxonomy, click the Export PHP option. This will create a file that you can download to your device that contains the parameters you have used to create the taxonomy. Please can you reply with this. I can use it to create the same taxonomy in my system.
    2. Can you say how you are trying to output the assigned taxonomy elements, including the text of the shortcode or block being used for that.

    Thanks for you help.

    Neil James

    Plugin Contributor nwjames

    (@nwjames)

    @ketankoranne,

    Thanks. I’ll mark the topic as resolved.

    I’ll give a response to your additional question. If you need a follow up, then please start a new topic.

    My assumption is that you have previously loaded one or more documents and their different versions as Attachments and can you simply link them together as Documents.

    If that is your scenario, then there is no provided method to do this. You should do it one Document (and its modifications) at a time. For this, you need to download them to your client, then create a Document with the Oldest modification and save it. Then update it with the next oldest modification and save that. Repeat the process until you get to the current version of the Document.

    You may be able to then delete the original Attachment records from the system (to save space). However, the question is, are the Attachment records linked to Pages or Posts? If so, you would need to link to the Document (or one of its Revisions).

    Hope this is of use,

    Neil James

    Plugin Contributor nwjames

    (@nwjames)

    @ketankoranne,

    There is no need to decrypt anything – it is displayed to you.

    Go to the standard administration screen, and select Settings and then Media.

    In the Uploading Files section is a variable labelled Document Upload Directory where you can optionally enter the abolute file address of the document directory. If nothing has been entered, then it will be the Uploads directory used for images.

    By default this is (root)/wp-content/uploads/, where (root) is where you installed WordPress.

    Hope this is of use,

    Neil James.

    Plugin Contributor nwjames

    (@nwjames)

    @emmanuelkuebu,

    You will not find these details held in meta fields, Both the document upload and document description are held in the document field post_content.

    You will find in Version 3.6 of the plugin a file docs/data-structure.md (or in GitHub) a description of how the various records used by the plugin are held and linked. This should guide you in discovering how the data is put together and to replicate it.

    I wrote this since over the period that I have been helping with this plugin various users had problems at different times and did not know the structure without diving into the code. I also wrote the validate structure functionality based on this to see if the data could be corrected if it was not complete.

    I can make no comment on how you can make WS Form construct the data appropriately as I have no knowledge of it.

    Hope this is of use,

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @longnha,

    This has been addressed in Version 3.2.0.

    Thanks for raising the issue.

    Neil James

    Plugin Author nwjames

    (@nwjames)

    @longnha,

    Thank you for raising this issue. I will prepare a fix.

    If you are able to edit the code, then it should remove the issue for you.

    Line 267 of includes/class-simpletaxonomyrefreshed-client.php

    		$hier                     = ( isset( $taxonomy['hierarchical'] ) && ! empty( $taxonomy['hierarchical'] ) ? $taxonomy['hierarchical'] : 1 );
    

    [Note. This is a single line. It is wrapped as I enter the response to you.]

    Regards,

    Neil James

    Plugin Contributor nwjames

    (@nwjames)

    @bigbueno ,

    I would be able to help. I would expect your requirement to fall into two elements. One would be of general use – which I would expect to propose a change to the plugin itself. This could be to add an action hook. And the other would be the specific processing required.

    I am not sure whether I should be putting an email address here, so I will do it indirectly. You can contact me by looking down these support topics and find one called “Notification Email”. In there I link to my GitHub repository for Email Notifications. Amongst the files is one called docs/SECURITY.md that gives my email address.

    Hope this is of use,

    Neil James

    Plugin Contributor nwjames

    (@nwjames)

    @bigbueno

    Please go to Settings -> Media and look at the last two options.

    The first of these is labelled “Document Slug”. Change this from its default value of “documents” to the name of your choice.

    The second is a checkbox which, when checked, will not write the month and year into the URL,

    Then save these changes. That is all you need for all new (or edited) documents.

    You may have some existing documents with the old permalink structure. You can use the Validate Structure option to fix the permalink names of existing documents. However, as delivered, you will need to do this for each document individually by clicking on each button marked “Fix”. Each is individually quick but it can be tedious doing a large number of documents one at a time.

    Hope this is of use,

    Neil James

    Plugin Contributor nwjames

    (@nwjames)

    @antdx,

    Thanks for raising this issue.

    The system is meant to work in the following way. When the screen is first displayed the Update/Publish button is disabled. When you make an update that can be saved then the button is enabled.

    You are correct that when the description field is updated then the button should be enabled.

    It is a bug that it does not. I will propose a fix that will allow this to happen.

    By making a “null update” to another field you are able to save the change; e.g. add a space to the title and then delete it again. An alternative is to add a taxonomy term and remove it again.

    Regards,

    Neil James

    Thread Starter nwjames

    (@nwjames)

    Thank you for your fast response.

    I have loaded this version and can confirm that the message no longer appears.

    Neil James

Viewing 15 replies - 1 through 15 (of 146 total)